After the install: My configuration script for Debian Bookworm

Last edited on 2024-05-10 Tagged under  #debian   #linux   #openbox   #bash   #programming 

Script debian-after-install configures a Debian GNU/Linux system.

It is ideally run after first boot into a minimal install of Debian 12 aka "Bookworm".

Run -h for options.


  • SERVER or DESKTOP configuration is available
  • SERVER installs packages for a basic console setup, where DESKTOP installs the Openbox window manager
  • Customize GRUB
  • Auto-install security updates (optional)
  • ZRAM for swap (optional)
  • Select different keyboard and console-font (optional)

How does it work?

Sync package repositories and install git:

sudo apt update && sudo apt install git


git clone

Change directory and run script:

cd debian-after-install
sudo ./

Source: debian-after-install

Thanks for reading! Read other posts?

» Next: Manage multiple Python versions in Linux using pyenv

« Previous: MintyFresh: My configuration script for Linux Mint Debian Edition (LMDE 6)