Arch Linux Full Install with Kde Plasma
Published on: August 6, 2021
Hi all, in this video i will show how to full install Arch Linux with Kde Plasma.
-
The boot mode will be EFI.
-
I’m assuming you already have the usb stick with the Arch Linux ISO.
-
My internet is wired, so if you have wireless network, please go to the website that is in the description of this video and see the link to properly configure your network.
I hope you enjoy!
1. Links
2. Set the Keyboard Layout
The default console keymap is US. Available layouts can be listed with:
$ ls /usr/share/kbd/keymaps/**/*.map.gz
$ loadkeys yourKeyboardLayout
3. Best Mirrors
$ reflector -c "BR" -f 12 -n 10 -l 12 \
--save /etc/pacman.d/mirrorlist --verbose
$ pacman -Syy
My country code is “BR”, so you need switch this reflector command parameter with your correct country code.
4. Partitioning the Disk
$ fdisk /dev/yourDevice
5. Formatting
use mkfs.ext4, mkfs.fat and mkswap .
6. Mouting
Use mount and swapon.
7. Install the Base
$ pacstrap /mnt base base-devel linux \
linux-firmware vim sudo networkmanager \
efibootmgr grub mtools
8. Generate fstab
$ genfstab -U /mnt >> /mnt/etc/fstab
9. Enter the Install
$ arch-chroot /mnt
#10. Timezone
$ ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
$ hwclock --systohc
11. Localization
Edit /etc/locale.gen and uncomment your locale. After, generate the locales by running:
$ locale-gen
Create the /etc/locale.conf and set the LANG variable:
LANG=en_US.UTF-8
Create /etc/vconsole.conf with your keyboard layout:
KEYMAP=de-latin
12. Network Config
Create /etc/hostname with the name your host:
nameFromYourHost
Create /etc/hosts:
127.0.0.1 localhost
::1 localhost
127.0.0.1 nameFromYourHost.localdomain nameFromYourHost
Enable Network Manager
$ systemctl enable NetworkManager
13. Install the Bootloader
$ grub-install --target=x86_64-efi \
--efi-directory=/boot/efi \
--bootloader-id=GRUB
$ grub-mkconfig -o \
/boot/grub/grub.cfg
14. Set the root Password
$ passwd
15. Exit, Umount and Reboot
$ exit
$ umount -a
$ reboot
16. Create a New User
$ useradd -m -G wheel yourUsername
$ passwd yourUsername
$ export EDITOR=vim
Edit /etc/sudoers run “visudo” and uncomment the following line:
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL
17. Install xorg
$ sudo pacman -S xorg
18. Install the Display Manager
$ sudo pacman -S sddm
$ sudo systemctl enable sddm
Open the sddm.conf file from the terminal.
$ sudo vim /usr/lib/sddm/sddm.conf.d/default.conf
Change the theme section as per below.
[Theme]
# current theme name
Current=breeze
19. Install Kde Plasma
$ sudo pacman -S plasma kde-applications
20. Reboot and Finish
$ reboot