til/install-archlinux.md

3.4 KiB

Install Archlinux

Install Archlinux is thing I always want to do for my laptop/PC since I had my laptop in ninth grade.

This is not a guide for everyone, this is just save for myself in a future and for anyone who want to taste a bit.

Assume your laptop/PC is UEFI-capable.

Installation guide

First USB flash installation media.

Connect to the internet

Enable wifi:

wifi-menu

Partition the disks

Identify:

lsblk

Partition:

cfdisk
Mount point Partition type Suggested size
/mnt/boot EFI system partition 1 GiB
/mnt Linux
/mnt/home Linux

Read EFI system partition

Boot loader

systemd-boot

General recommendations

Always remember to check dependencies when install packages.

System administration

Read Users and groups.

Read fish.

Read Sudo/Using visudo.

useradd -m -G additional_groups -s login_shell username
abstract implement
additional_groups wheel
login_shell /usr/bin/fish

Graphical user interface

Display server: Xorg.

Desktop environments: GNOME.

Display manager: GDM, start/enable service:

systemctl start gdm.service

systemctl enable gdm.service

Networking

Network configuration: NetworkManager, start/enable service:

systemctl start NetworkManager.service

systemctl enable NetworkManager.service

Clock synchronization: systemd-timesyncd:

timedatectl set-ntp true

Optimization

Read Solid state drive.

Read Improving performance/Watchdogs.

Read Improving performance/Staggered spin-up.

Read Silent boot.

Appearance

Read Fonts.

Misc

Swap/systemd-swap

systemd/Journal

List of applications

pacman

Uncomment or add if not exist options in /etc/pacman.conf:

# Misc options
Color
ILoveCandy

AUR

Install AUR package:

makepkg -sric

In the end

This guide is updated regularly I promise.