Awesome Open Source
Awesome Open Source

Build Status

Bash Script to automate post-installation steps. Helps to install packages on different operating systems.

Apple macOS Arch Linux CentOS Debian Fedora FreeBSD Mageia OpenBSD Red Hat SUSE Slackware Ubuntu Android Termux Alpine Linux

Puppy, Cygwin and Haiku are also supported.

Overview is simple bash shell script which in turn generates scripts. The generation depends on the operating system and type of installation. The templates that are included in the generation can be stored in the file system or on a web server. This can also be your GitHub repository. Just fork this repository and edit it according to your needs. is not a configuration management system. If you want to install many servers automatically, you should look at ansible. But if you want to quickly reinstall your laptop or Raspberry Pi, can help you.

Please check the Wiki for more information.



curl -f -o

Alternative download with short URL:

curl -fL -o

Create a package lists and scripts as explained in this repository or in the Wiki.


mkdir install
cd install
vi packages.list

Run as root:

bash -b install


Usage: [-t <TYPE>] [-b <BASE>] [-h]:
        [-t <TYPE>]      sets the type of installation (default: server)
        [-b <BASE>]      sets the base url or dir (default:
        [-h]             displays help (this message)

Example: or -t workstation



Program Flow

  • Determine operating system and architecture
  • Check package manager and requirements
  • Generate script to run before and after installation and list of packages to install
  • Install packages


Only bash, curl, tput (ncurses-utils) and a package manager for the respective operating system:

  • Alpine Linux → apk
  • Apple macOS → port or brew
  • Arch Linux → pacman
  • Cygwin → apt-cyg
  • Debian / Ubuntu → apt-get
  • FreeBSD → pkg
  • Haiku → pkgman
  • Mageia → urpmi
  • NetBSD → pkg_add
  • OpenBSD → pkg_add
  • OpenWRT → opkg
  • Puppy → pkg (
  • Red Hat / Fedora / CentOS → dnf or yum
  • Slackware → slackpkg
  • SUSE / openSUSE → zypper
  • Termux → pkg


  • More and better documentation
  • Support for even more operating systems and package managers

Help is welcome 👍


GNU Public License version 3. Please feel free to fork and modify this on GitHub (

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
shell (10,565
hacktoberfest (4,278
macos (1,811
bash (640
ubuntu (363
debian (241
openwrt (120
termux (120
centos (101
freebsd (100
arch-linux (84
fedora (70
openbsd (57
alpine-linux (41
redhat (34
hacktoberfest2018 (27
netbsd (18