This script automates the post-installation configuration of Arch Linux. It is designed to be executed inside an arch-chroot environment after completing the base system installation.
- Installs default Pacman hooks (optional)
- Configures fstab and system settings (optional)
- Installs and configures GUI environments (optional)
- Ensures Bluetooth and printing support (if required)
- Supports Flatpak application installation
Before running this script, ensure:
- You have booted into an Arch Linux live ISO.
- You have installed the base system and entered
arch-chroot:mount /dev/sdXn /mnt # Replace sdXn with your root partition arch-chroot /mnt - You have network access (
ping -c 3 archlinux.orgshould succeed).
git clone https://github.com/TheInsaneLord/archinstall.git
cd archinstallchmod +x install.sh./install.shThe script will prompt you for configurations, allowing you to:
- Install Pacman hooks
- Configure system settings
- Set up a GUI environment (Wayland/X11, KDE/Gnome)
- Install essential applications
Each component of the installation is modular:
| Script | Description |
|---|---|
install.sh |
Main interactive installer |
install-scripts/hooks.sh |
Sets up Pacman hooks |
install-scripts/system.sh |
Configures fstab and system settings |
install-scripts/gui.sh |
Installs GUI components (Wayland/X11, KDE/Gnome) |
install-scripts/apps.sh |
Installs default applications & Flatpak apps |
- Ensure this script is run inside
arch-chroot. - After installation, reboot your system:
exit umount -R /mnt reboot - If using a printer, add your user to the
lpgroup:usermod -aG lp <your-username>
- If the script does not run, check execution permissions:
chmod +x install.sh
- If
gitis missing, install it manually:pacman -S git
- If networking is unavailable, check
ip linkand ensure your interface is up.
This project is open-source. Feel free to modify and improve it to fit your needs.
Enjoy your Arch installation! EOF