Last active
January 20, 2020 06:36
-
-
Save arpitjindal97/59543126537883b58fd1d0418b86d33f to your computer and use it in GitHub Desktop.
Arch Installation Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Arch Installation Notes | |
https://wiki.archlinux.org/index.php/installation_guide | |
/dev/sda2 --- efi partition | |
/dev/sda6 --- linux partition | |
mkfs.ext4 /dev/sda6 | |
mkdir -r /mnt/boot/efi | |
mount /dev/sda6 /mnt | |
mount /dev/sda2 /mnt/boot/efi | |
## Configure Wifi ==================================================== | |
nano /etc/wpa_supplicant/example.conf | |
ctrl_interface=/run/wpa_supplicant | |
update_config=1 | |
wpa_supplicant -B -i wlp0s26u1u1 -c /etc/wpa_supplicant/example.conf | |
wpa_cli // only for the first time | |
> scan | |
> scan_results | |
> add_network | |
> set_network 0 ssid "Arpit-Wifi" | |
> set_network 0 psk "password_goes_here" | |
> enable_network 0 | |
> save_config | |
dhcpcd wlp0s26u1u1 | |
===================================================================== | |
## Fast Mirrors | |
pacman -Sy reflector | |
reflector --verbose --latest 40 --sort rate --save /etc/pacman.d/mirrorlist | |
## Install base | |
pacstrap /mnt base | |
genfstab -U /mnt >> /mnt/etc/fstab | |
## Get into it | |
arch-chroot /mnt | |
## Locale | |
ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime | |
echo "en_IN.UTF-8 UTF-8" > /etc/locale.gen | |
locale-gen | |
echo "LANG=en_IN.utf8" > /etc/locale.conf | |
echo "Arpit-ArchX" > "/etc/hostname" | |
## Grub | |
pacman -S grub efibootmgr os-prober | |
pacman -S intel-ucode # for Intel Processor | |
# esp_mount = /boot/efi | |
# bootloader_id = Arch\ Linux | |
grub-install --target=x86_64-efi --efi-directory=esp_mount --bootloader-id=Arch\ Linux | |
grub-mkconfig -o /boot/grub/grub.cfg | |
## Network Utilities | |
pacman -S wpa_supplicant networkmanager network-manager-applet | |
pacman -S bluez bluez-utils blueman | |
systemctl enable bluetooth.service | |
systemctl enable NetworkManager.service | |
reboot # you should see grub | |
================================================================== | |
# Now you are into newly installed arch | |
## Create user | |
useradd -m arpit | |
passwd arpit | |
usermod -G wheel arpit | |
# go to /etc/sudoers, uncomment wheel | |
# change password of root user also | |
## Mirror | |
pacman -S reflector | |
reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist | |
pacman -Syy | |
## GUI | |
pacman -S xfce4 lightdm lightdm-gtk-greeter light-locker base-devel sudo | |
systemctl enable lightdm | |
reboot # you will get GUI | |
=============================================================== | |
## Post Installation | |
### Install yay | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
# yay is installed, get bin file | |
yay -S yay-bin --noconfirm | |
### Theme | |
yay -S arc-gtk-theme adapta-gtk-theme | |
### Icon theme | |
yay -S menda-maia-icon-theme numix-circle-icon-theme-git papirus-icon-theme flat-remix-git | |
### Optional | |
sudo pacman -R xfwm4-themes arc-icon-theme gtk-theme-breath | |
### Essential packages | |
sudo pacman -S libreoffice wget nmap net-tools openssh jdk10-openjdk | |
sudo pacman -S vlc qt4 | |
sudo pacman -S chromium pepper-flash flashplugin firefox | |
### Customize Bash | |
nano ~/.bashrc | |
alias ls='ls --color=auto' | |
PS1="\[\e[1;31m\][\[\e[1;36m\]\u\[\e[1;31m\]@\[\e[1;32m\]\h:\[\e[1;33m\]\w\[\e[1;31m\]]\[\e[0m\]$\[\033[00m\] " | |
### VirtualBox | |
sudo pacman -S virtualbox virtualbox-guest-iso | |
yay -S virtualbox-ext-oracle | |
### VNC | |
sudo pacman -S x11vnc transmission-gtk tigervnc | |
### CLI torrent | |
yay -S torrench --noconfirm | |
### Optional | |
sudo pacman -S minicom mobile-broadband-provider-info usb_modeswitch | |
### Audio | |
sudo pacman -S pulseaudio pavucontrol xfce4-pulseaudio-plugin alsa-utils | |
yay -S pavucontrol-ctl (when keyboard has sound keys) | |
### Printer | |
sudo pacman -S cups | |
sudo systemctl enable org.cups.cupsd.service | |
yay -S foo2zjs-nightly --noconfirm # HP M1005 | |
yay -S epson-inkjet-printer-201207w --noconfirm # Epson L210 | |
### Cursor Theme | |
yay -S breeze-default-cursor-theme --noconfirm | |
### Image Editor | |
sudo pacman -S ristretto pinta | |
### File Manager Plug-ins | |
sudo pacman -Rs engrampa engrampa-thunar-plugin | |
sudo pacman -S file-roller | |
sudo pacman -S mtpfs # android | |
sudo pacman -S gvfs gvfs-mtp # removable devices | |
### Terminal | |
sudo pacman -S tmux termite termite-terminfo zsh xsel gvim | |
### Fonts | |
sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji | |
ttf-croscore ttf-roboto ttf-liberation | |
powerline-fonts font-mathematica ttf-dejavu | |
ttf-freefont | |
yay -S ttf-fantasque-sans-mono --noconfirm | |
### Customize LightDM | |
yay -S lightdm-webkit2-greeter lightdm-webkit2-theme-material2 | |
# Edit /etc/lightdm/lightdm-webkit2-greeter.conf | |
# webkit_theme = material2 | |
## Customize Grub | |
yay -S grub-themes-vimix --noconfirm | |
# Edit /etc/default/grub | |
# GRUB_THEME="/boot/grub/themes/Vimix/theme.txt" | |
sudo grub-mkconfig -o /boot/grub/grub.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment