-
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux Post Installation
Complete beginner-friendly guide to essential steps after installing Linux, covering Arch Linux, CachyOS, and other distributions including system configuration, drivers, software installation, and optimization.
- Initial System Setup
- Network Configuration
- Graphics Drivers
- Audio Configuration
- Essential Software
- Desktop Environment
- System Services
- User Configuration
- System Maintenance
- CachyOS-Specific Optimizations
After installation:
- Login as root or your user account
- Check system status
- Verify network connection
- Update system
Update immediately:
# Arch/CachyOS
sudo pacman -Syu
# If errors occur, refresh keys
sudo pacman-key --refresh-keysDebian/Ubuntu:
sudo apt update && sudo apt upgradeFedora:
sudo dnf updateExplanation:
- Updates all packages to latest versions
- Refreshes package database
- Installs security updates
Arch/CachyOS:
# Enable NetworkManager
sudo systemctl enable --now NetworkManager
# Check status
systemctl status NetworkManagerDebian/Ubuntu:
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManagerFedora:
sudo systemctl enable 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-appletSee Networking for detailed network configuration.
Identify your GPU:
# List graphics hardware
lspci | grep VGA
# Or more detailed
lspci -k | grep -A 2 VGAArch/CachyOS:
# For modern NVIDIA GPUs
sudo pacman -S nvidia nvidia-utils nvidia-settings
# For 32-bit support (Steam, etc.)
sudo pacman -S lib32-nvidia-utilsCachyOS (using chwd - recommended):
# Automatically detect and install correct drivers
sudo chwd -h -a nvidiaDebian/Ubuntu:
sudo apt install nvidia-driverFedora:
sudo dnf install akmod-nvidiaVerify installation:
# Check NVIDIA driver
nvidia-smi
# Or
glxinfo | grep "OpenGL renderer"Arch/CachyOS:
# Open-source drivers (recommended)
sudo pacman -S mesa vulkan-radeon lib32-mesa lib32-vulkan-radeonDebian/Ubuntu:
sudo apt install mesa-vulkan-driversFedora:
sudo dnf install mesa-vulkan-driversArch/CachyOS:
# Intel graphics drivers
sudo pacman -S mesa vulkan-intel lib32-mesa lib32-vulkan-intelUsually works out of the box on modern systems.
See Graphics Drivers for detailed driver setup.
Arch/CachyOS:
# Install PulseAudio
sudo pacman -S pulseaudio pulseaudio-alsa pavucontrol
# Enable service
systemctl --user enable --now pulseaudioDebian/Ubuntu:
sudo apt install pulseaudio pavucontrolFedora:
sudo dnf install pulseaudio pavucontrolArch/CachyOS:
# Install PipeWire
sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack
# Enable services
systemctl --user enable --now pipewire pipewire-pulsePipeWire is modern alternative to PulseAudio.
See Audio Configuration for detailed audio setup.
Install text editors:
# Arch/CachyOS
sudo pacman -S vim nano
# VS Code (optional)
yay -S visual-studio-code-binInstall browsers:
# Arch/CachyOS
sudo pacman -S firefox chromium
# Google Chrome (AUR)
yay -S google-chromeInstall media software:
# Arch/CachyOS
sudo pacman -S vlc mpv
# Codecs
sudo pacman -S gstreamer gst-plugins-good gst-plugins-bad gst-plugins-uglyInstall office suite:
# Arch/CachyOS
sudo pacman -S libreoffice-fresh
# PDF viewer
sudo pacman -S evinceInstall development tools:
# Arch/CachyOS
sudo pacman -S git base-devel python python-pip nodejs npmSee Development Environment for detailed setup.
Popular options:
GNOME:
# Arch/CachyOS
sudo pacman -S gnome gnome-extra
sudo systemctl enable --now gdmKDE Plasma:
# Arch/CachyOS
sudo pacman -S plasma kde-applications
sudo systemctl enable --now sddmXFCE:
# Arch/CachyOS
sudo pacman -S xfce4 xfce4-goodies
sudo pacman -S lightdm lightdm-gtk-greeter
sudo systemctl enable --now lightdmSee Desktop Environments for detailed DE setup.
Enable common services:
# NetworkManager
sudo systemctl enable --now NetworkManager
# Bluetooth
sudo systemctl enable --now bluetooth
# CUPS (printing)
sudo systemctl enable --now cups
# SSH (if needed)
sudo systemctl enable --now sshdSee System Configuration for service management.
Configure 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.
See User and Groups for detailed user management.
Update system regularly:
# Arch/CachyOS
sudo pacman -Syu
# Check for updates
pacman -QuClean old packages:
# Arch/CachyOS
# Remove old packages
sudo pacman -Sc
# Remove all cached packages
sudo pacman -SccRemove unused packages:
# Arch/CachyOS
# List orphans
pacman -Qdt
# Remove orphans
sudo pacman -Rns $(pacman -Qdtq)See Package Cleaning for detailed maintenance.
CachyOS Hello (package installer):
# Launch CachyOS Hello
cachyos-hellochwd (hardware detection):
# Detect and install graphics drivers
sudo chwd -h -a nvidiaSee CachyOS Tools Guide for CachyOS-specific tools.
CachyOS includes performance optimizations:
- Custom-compiled packages with CPU-specific optimizations
- BORE scheduler in kernel
- Performance-tuned defaults
See CachyOS Performance Guide for optimization details.
This 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
- CachyOS optimizations - CachyOS-specific features
Key Takeaways:
- Update system first
- Install graphics drivers
- Configure network
- Install desktop environment
- Set up essential software
- Enable needed services
- Package Management - Package management
- System Configuration - Advanced configuration
- Desktop Environments - DE setup
- Graphics Drivers - Driver setup
- CachyOS Performance Guide - CachyOS optimizations
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.