-
-
Notifications
You must be signed in to change notification settings - Fork 2
Arch Linux Post Installation
Complete beginner-friendly guide to essential steps after installing Arch Linux, including system configuration, drivers, and software installation.
- Initial System Setup
- Network Configuration
- Graphics Drivers
- Audio Configuration
- Essential Software
- Desktop Environment
- System Services
- User Configuration
- System Maintenance
After installation:
- Login as root or your user account
- Check system status
- Verify network connection
- Update system
Update immediately:
# Update system
sudo pacman -Syu
# If errors occur, refresh keys
sudo pacman-key --refresh-keysExplanation:
-
-Syu: Sync, update, upgrade - Updates all packages to latest versions
- Refreshes package database
If NetworkManager was installed:
# Enable and start NetworkManager (recommended method)
sudo systemctl enable --now NetworkManager
# Check status
systemctl status NetworkManagerUsing NetworkManager:
# Text-based interface
nmtui
# Or use nmcli
nmcli device wifi list
nmcli device wifi connect "NetworkName" password "password"GUI option:
# Install network manager applet
sudo pacman -S network-manager-appletConfigure static IP:
# Edit connection
sudo nmcli connection edit "ConnectionName"
# Set IP
set ipv4.addresses 192.168.1.100/24
set ipv4.gateway 192.168.1.1
set ipv4.dns "8.8.8.8 8.8.4.4"
set ipv4.method manual
save
quitIdentify your GPU:
# List graphics hardware
lspci | grep VGA
# Or more detailed
lspci -k | grep -A 2 VGAExpected output:
00:02.0 VGA compatible controller: Intel Corporation ...
01:00.0 VGA compatible controller: NVIDIA Corporation ...
Install NVIDIA drivers:
# For modern NVIDIA GPUs
sudo pacman -S nvidia nvidia-utils nvidia-settings
# For older GPUs (before 600 series)
sudo pacman -S nvidia-470xx-dkms nvidia-settings
# For very old GPUs (before 400 series)
sudo pacman -S nvidia-390xx-dkms nvidia-settingsVerify installation:
# Check NVIDIA driver
nvidia-smi
# Or
glxinfo | grep "OpenGL renderer"Install AMD drivers:
# Open-source drivers (recommended)
sudo pacman -S mesa xf86-video-amdgpu
# For older AMD GPUs
sudo pacman -S xf86-video-atiVerify:
glxinfo | grep "OpenGL renderer"Install Intel drivers:
# Intel graphics drivers
sudo pacman -S mesa xf86-video-intelUsually works out of the box on modern systems.
Install PulseAudio:
# Install PulseAudio
sudo pacman -S pulseaudio pulseaudio-alsa pavucontrol
# Enable service
systemctl --user enable pulseaudio
systemctl --user start pulseaudioTest audio:
# Test with speaker-test
speaker-test -c 2
# Or install audio player
sudo pacman -S vlcInstall PipeWire:
# Install PipeWire
sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack
# Enable services
systemctl --user enable pipewire pipewire-pulse
systemctl --user start pipewire pipewire-pulsePipeWire is modern alternative to PulseAudio.
Install text editors:
# Vim
sudo pacman -S vim
# Nano (easier for beginners)
sudo pacman -S nano
# VS Code (optional)
yay -S visual-studio-code-binInstall browsers:
# Firefox
sudo pacman -S firefox
# Chromium
sudo pacman -S chromium
# Google Chrome (AUR)
yay -S google-chromeInstall media software:
# VLC
sudo pacman -S vlc
# MPV
sudo pacman -S mpv
# Codecs
sudo pacman -S gstreamer gst-plugins-good gst-plugins-bad gst-plugins-uglyInstall office suite:
# LibreOffice
sudo pacman -S libreoffice-fresh
# PDF viewer
sudo pacman -S evinceInstall development tools:
# Git
sudo pacman -S git
# Build tools
sudo pacman -S base-devel
# Python
sudo pacman -S python python-pip
# Node.js
sudo pacman -S nodejs npmPopular options:
GNOME:
sudo pacman -S gnome gnome-extra
sudo systemctl enable gdm
sudo systemctl start gdmKDE Plasma:
sudo pacman -S plasma kde-applications
sudo systemctl enable sddm
sudo systemctl start sddmXFCE:
sudo pacman -S xfce4 xfce4-goodies
sudo pacman -S lightdm lightdm-gtk-greeter
sudo systemctl enable lightdm
sudo systemctl start lightdmi3 (Window Manager):
sudo pacman -S i3-wm i3status i3lock dmenuDisplay managers:
- GDM: GNOME Display Manager (for GNOME)
- SDDM: Simple Desktop Display Manager (for KDE)
- LightDM: Lightweight (for XFCE, etc.)
Enable display manager:
# Replace 'gdm' with your display manager
sudo systemctl enable gdm
sudo systemctl start gdmEnable common services:
# NetworkManager
sudo systemctl enable NetworkManager
# Bluetooth
sudo systemctl enable bluetooth
# CUPS (printing)
sudo systemctl enable cups
# SSH (if needed)
sudo systemctl enable sshdManage services:
# Enable service
sudo systemctl enable service-name
# Start service
sudo systemctl start service-name
# Check status
systemctl status service-name
# Disable service
sudo systemctl disable service-nameConfigure sudo:
# Edit sudoers
sudo visudoEnsure wheel group has sudo:
%wheel ALL=(ALL) ALL
Add user to groups:
# Audio group
sudo usermod -aG audio username
# Video group
sudo usermod -aG video username
# Wheel group (sudo)
sudo usermod -aG wheel usernameLog out and back in for groups to take effect.
Configure shell:
# Install zsh (optional)
sudo pacman -S zsh
# Change shell
chsh -s /bin/zsh
# Install oh-my-zsh (optional)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Update system regularly:
# Update system
sudo pacman -Syu
# Check for updates
pacman -QuClean old packages:
# Remove old packages
sudo pacman -Sc
# Remove all cached packages
sudo pacman -SccRemove unused packages:
# List orphans
pacman -Qdt
# Remove orphans
sudo pacman -Rns $(pacman -Qdtq)Check system info:
# System information
neofetch
# Install neofetch
sudo pacman -S neofetch
# Or use inxi
sudo pacman -S inxi
inxi -FThis guide covered:
- Initial setup - First boot and updates
- Network - NetworkManager configuration
- Graphics - GPU drivers
- Audio - PulseAudio/PipeWire
- Software - Essential applications
- Desktop - Desktop environments
- Services - System services
- Users - User configuration
- Maintenance - System upkeep
Key Takeaways:
- Update system first
- Install graphics drivers
- Configure network
- Install desktop environment
- Set up essential software
- Enable needed services
- Arch Linux Package Management - Package management
- Arch Linux System Configuration - Advanced configuration
- Arch Linux Desktop Environments - DE setup
- ArchWiki General Recommendations: https://wiki.archlinux.org/title/General_recommendations
This guide is based on the ArchWiki General Recommendations. For the most up-to-date information, always refer to the official ArchWiki.