How to Install Arch Linux Easily and Customize Desktop - Detailed Commands Used in Description

Опубликовано: 30 Март 2026
на канале: Righteous Culture
1,661
38

Welcome to my Arch Linux full installation walk though. In this video I will install Arch Linux, Gnome Desktop, and customize it. After the base and desktop environment finish installation. I will install yay and pamac aur. Pamac is Arch Linux User Repository package manager for easy click to install software. Then I will add a couple gnome extensions to beautify the desktop.

--We are going to partition the drive free space into four partitions.
--The first one is the primary boot partition that will be of 512 MB
--The second will be the swap partition, which will be twice the initial -
--RAM allocation that will be 8.5 GB.
--The third one will be the primary root partition that will be of 29 GB.
--The 4th one will be the home partition that will have the rest of the disk 90 GB.


These are the commands used during the installation:

cfdisk: You will see gpt, dos, sgi, and sun. Select the gpt option and press enter.
lsblk: list partitions

fdisk
cfdisk
lsblk

Format file system:
mkfs.fat -F 32 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mkfs.ext4 /dev/sda3
mkfs.ext4 /dev/sda4

Create and Mount Partitions Location:
mount /dev/sda3 /mnt
mkdir /mnt/home
mkdir /mnt/boot
mount /dev/sda4 /mnt/home
mount /dev/sda1 /mnt/boot

Check if all partitions are configured ok
parted /dev/sda -l

Bootstrap the system by typing:
pacstrap -i /mnt base base-devel linux-firmware nano

After the base installation create the fstab file
genfstab /mnt ✈✈ /mnt/etc/fstab
cat /mnt/etc/fstab

arch-chroot /mnt /bin/bash

pacman -S --needed linux linux-headers linux-lts linux-lts-headers
pacman -S --needed networkmanager wireless_tools netctl

systemctl enable NetworkManager

mkinitcpio -p linux
mkinitcpio -p linux-lts

nano /etc/locale.gen
Ctrl+w to search for your language (en_US) uncomment
Ctrl+o to save | Ctrl+x to exit

locale-gen

nano /etc/locale.conf
LANG=en_US.UTF-8

ln –s /usr/share/zoneinfo/America/Mountain /etc/localtime
hwclock --systohc --utc


set root password
passwd

add new user and set password
useradd -m -g users -G wheel "username"
passwd "username"

EDITOR=nano visudo
uncomment # %wheel All=(ALL) ALL

nano /etc/hostname

ip a

install grub efibootmgr
pacman –S grub os-prober efibootmgr dosfstools mtools
grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot
grub-mkconfig –o /boot/grub/grub.cfg

pacman -S intel-ucode

pacman -S xorg-server xorg-xinit
pacman -S --needed mesa

pacman -S nvidia nvidia-utils nvidia-lts
pacman -S virtualbox-guest-utils xf86-video-vmware

pacman -Syu
exit
umount -a
poweroff

#*** Part II ***#
install desktop
sudo pacman -Syyy
sudo pacman -S gnome gnome-extra

sudo systemctl enable gdm
sudo reboot

sudo pacman -Syu

install yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

install pamac
yay -S pamac-aur

 #ArchLinux #ArchLinuxDesktop #ArchLinuxInstallationUEFI