A personal bootstrap script for my new systems. From fresh Debian install to ready to work in about 8 minutes.
This works in tandem with my dotfiles repo when run on a new system. It will detect the current OS and install the relevant packages and applications needed, as well as pull down my dotfiles. It is currently scoped to Debian only.
Installation workflow goes like this:
- Check for & install apt updates
- Install relevant apt packages
- Install VMware Tools, if needed.
- Run custom installer functions. Currently:
- Selected Python3 packages
- LightDM
- Zsh
- VS Code
- Bat
- Grab some random wallpapers
- Grab user dotfiles
- Configure Docker & pull down selected images
- Install VimPlug
- Reboot - and done!
- Do a fresh install of your OS, defaults should be fine however you can deselect any UI stuff if you want.
- Make your account a member of the sudo group (see Requirements below)
wget https://raw.githubusercontent.com/qrbounty/bootstrapper/master/bootstrap.sh
- Examine
bootstrap.sh
and customize as needed chmod +x bootstrap.sh
sudo ./bootstrap.sh
- After a reboot everything should be complete!
Alternatively, if you're feeling extremely dangerous, replace steps 3-6 with: sudo su -c "bash <(wget -qO- https://git.io/JvIcy)"
Just promise you'll tell everyone else to never run random scripts from the internet with bash, particularly with sudo...
If you're a debian user (like me) you'll want to make sure your user is set up to use sudo before continuing.
Debian 9 or older: add the user account to the group sudo with adduser username sudo
. Where username is your user account.
Debian 10: add the user account to the group sudo with /sbin/adduser username sudo
. Where username is your user account.
The following helps me track which versions of certain packages are available between distros. This is mostly to help me evaluate which distributions are keeping up with tools I use. Yeah, I owe the Repology servers a beer.
*Note: BlackArch also pulls from AUR, which has some of the packages missing here.
Removed from the list:
- Pentoo (Coverage, outdated)
- OpenBSD (Coverage, outdated)
- Debian Stable (Outdated)
- Devuan 4 (Identical to Debian Testing)