This is my customization for fresh Debian installs.
Use the following Debian ISO as the base:
NOTE: do NOT grab the EDU download. This image includes non-free and firmware
This must be run as the root
user.
bash <(wget -qO- https://raw.githubusercontent.com/gkuba/Debian-Gkuba/main/install.sh)
The install.sh
script has been completely rewritten and now allows you to run parts of it instead of the full thing.
This allows you to do things like change to the Testing repository or Install Java on a system already set up.
Full list of these functions below just append the one you want at the end of the command listed.
This example will add the Adoptium Java repo:
bash <(wget -qO- https://raw.githubusercontent.com/gkuba/Debian-Gkuba/main/install.sh) addJavaRepo
- Change repository from "Stable" to "Testing" (Currently named Bookworm)
promptRepoChange writeSourcesList
You then need to run apt update && apt upgrade
for the changes to take effect.
- Install Java
promptInstallJava addJavaRepo installJava
This will install the Adoptium java JDK 8, 17 and 18. You can also just add the repository if you want to install a specific version or at a later time.
My bash prompt and settings can be found here gkuba/dotfiles