Arch Linux Installation Guide



> Easy Arch Install Guide

A comprehensive guide to install Arch Linux the Arch way. Say goodbye to weird installation scripts! Installing Arch Linux the Arch way is an experience like no other. I guarantee you, you'll have a working Arch Linux system within 15 minutes. (* Provided you have a decent Internet speed.)




Download Arch Linux ISO:


Guide Starts Here:

Set Keyboard:


loadkeys us 
        

Connect to Internet:

Ethernet/USB: Plug and play.

WiFi:


iwctl
device list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect "network-name"
Enter Password
exit
        

Check Connection:


ping 9.9.9.9
        

Partition Disk:

Identify Disk:


fdisk -l
        

Start fdisk:


fdisk /dev/nvme0n1
fdisk /dev/sda
        

Commands:

d: Delete previous partitions.
g: Create a new GPT disklabel.
n: Create new partition.
w: Write changes.
p: Print changes.
        

Create Partitions:


/dev/nvme0n1p1: 500 MB (EFI)
/dev/nvme0n1p2: 2 GB (Swap)
/dev/nvme0n1p3: Remaining GB (File System)
/dev/sda1: Remaining GB (File System)
        

Format Partitions:

EFI Partition:

mkfs.fat -F 32 /dev/nvme0n1p1
        

Swap Partition:

mkswap /dev/nvme0n1p2
        

File System:


mkfs.btrfs /dev/nvme0n1p3
mkfs.btrfs /dev/sda1
        

Mount Partitions:

File System:


mount /dev/nvme0n1p3 /mnt
mount /dev/sda1 /mnt/home
        

Swap Partition:

swapon /dev/nvme0n1p2
        

EFI Partition:

mkdir -p /mnt/boot/efi & mount /dev/nvme0n1p1 /mnt/boot/efi
        

Generate fstab:

genfstab /mnt
      

Install Base Packages:


pacstrap /mnt base base-devel linux-lts linux-firmware nano sudo networkmanager efibootmgr grub mtools
      

Transfer Fstab Details

genfstab /mnt > /mnt/etc/fstab
      

Change Root:

arch-chroot /mnt
      

Set Time Zone:


ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
date
hwclock --systohc
      

Set Locale:


nano /etc/locale.gen
locale-gen
nano /etc/locale.conf
nano /etc/vconsole.conf
      

Set Hostname:

nano /etc/hostname
      

Set Root Password:

passwd
      

Create User with Sudo Privileges:


useradd -m -G wheel -s /bin/bash user
passwd user
      

Sudo Setup:


EDITOR=nano visudo
Uncomment wheel group.
su user
sudo pacman -Syu
Check functionality and exit
      

Enable Network Services:


nano /etc/hosts
127.0.0.1   localhost
::1         localhost 

systemctl enable NetworkManager
      

Install and Configure GRUB:


grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
exit
umount -a
reboot
      

Post Install

Video Drivers and GUI Installation:


Intel: pacman -S xorg xf86-video-intel mesa
AMD: pacman -S xorg xf86-video-amdgpu mesa
ATI: pacman -S xorg xf86-video-ati mesa
NVIDIA: pacman -S xorg xf86-video-nouveau mesa

      

Install Pipewire


sudo pacman -S pipewire pipewire-pulse pipewire-media-session
sudo systemctl enable --now pipewire pipewire-pulse pipewire-media-session
sudo systemctl --global disable --now alsa-restore alsa-state

      

Installing Cinnamon


sudo pacman -S cinnamon nemo-fileroller firefox gnome-terminal

      

Display Manager


sudo pacman -S lightdm-gtk-greeter lightdm-gtk-greeter-settings
sudo systemctl enable lightdm

      

Gnome Keyring


sudo pacman -S gnome-keyring

      

Install some basic fonts


sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-font-awesome

      

Some Important Packages


sudo pacman -S udisks2 udiskie gvfs git gedit flatpak papirus-icon-theme

      

Video Codecs


sudo pacman -S a52dec faac faad2 flac jasper lame libdca libdv libmad libmpeg2 libtheora libvorbis libxv wavpack x264 xvidcore

      

Archive Formats


sudo pacman -S p7zip unrar tar rsync

      

After Login

Paru


git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg -si

      

Customization

Nord Color Scheme

Nordic Polar Theme:


git clone https://github.com/EliverLara/Nordic-Polar.git

      

Nord Gnome-Terminal:


git clone https://github.com/arcticicestudio/nord-gnome-terminal.git

      

Nord Gedit:


git clone https://github.com/arcticicestudio/nord-gedit.git

      

Shell Color Scripts:


paru -S shell-color-scripts
sh -c "$(curl -fsSL https://starship.rs/install.sh)"

sudo flatpak override --filesystem=$HOME/.themes
sudo flatpak override --env=GTK_THEME=Nordic-Polar

      

Adding lines to Bash


alias ls='ls -lah --color=auto'
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
colorscript -e arch
eval "$(starship init bash)"

      

Nord Wallpapers


paru -S nordic-wallpapers