An easy-to-use Arch-Linux installer written in Python
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
- Table of Contents
- About The Project
- Getting Started
- Configuration
- Usage
- Roadmap
- Contributing
- License
- Contact
I often change operating system and I was tired of having to search every time one of the thousands of tutorials / guides on the internet on how to install arch-linux so I decided to create my own installer
For now it offers a very limited range of installation customizations, which are however sufficient to install a stable and working version of the operating system.
The followings are the steps for install Arch with this tool.
- Download the Arch-Linux ISO from the official website
- Make a bootable USB with the ISO
- Boot the ISO
- Install git
pacman -Syy git
- Clone the repo
git clone https://github.com/alemazzo/archinstaller
- Change directory
cd archinstaller
- If you want to make the partitions by yourself this is the moment. Otherwise use the
format.sh
script for erase all the disk and create a unique partition for the os.
# This will delete all your data
# Make the script executable
chmod +x format.sh
# Execute the script
./format.sh
- Start editing the configuration
nano config.yml
- Manage the settings in the
accounts
section and set the root's password and the data for the base account.
accounts:
root-password: root
username: alessandro
password: password
- Manage the
settings
section for your system setup.
settings:
ntp: true
keymap: it
locale: en_US.UTF-8 UTF-8
lang: en_US.UTF-8
region: Europe
location: Rome
hostname: Matebook
- Manage the
packages
section (do not touch the required packages).
You can add the packages that you want in your system but i suggest you to install them once the system is already installed and not during the installation.
packages:
# Required packages
...
# Window Managment
- xorg
- kde-applications
- plasma
- plasma-wayland-session
# You can add other stuff here
- Make the script executable
chmod +x installer.py
- Execute the installer
./installer.py config.yml
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Alessandro Mazzoli - @alessandro.py - [email protected]
Project Link: https://github.com/alemazzo/ArchInstaller