Update install-software script

This commit is contained in:
JeremyStar™ 2024-05-19 21:04:12 +02:00
parent efe8aba232
commit 325883f817
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -27,19 +27,18 @@ case "$ID" in
curl -s "https://get.sdkman.io" | bash
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 22.0.1-tem
sdk install java 17.0.11-tem
sdk install java 8.0.412-tem
sdk selfupdate
sdk update
java_versions=( '22.0.1' '21.0.3' '17.0.11' '8.0.412' )
for version in "${java_versions[@]}"; do
sdk install java "${version}-tem"
done
sdk default java 21.0.3-tem
;;
*)
echo ":: No supported distribution found."
echo " Install these packages manually:"
echo " bash ncurses nano rustup bat moar fireplace fortune-mod cowsay ytfzf yt-dlp tar zstd gzip bzip zip unrar unzip 7z ccache sccache ['ar' or 'binutils']"
echo " Then do this:"
echo " 1. Install the nightly rust toolchain and execute \"cargo install eza\""
echo " 2. Install sdkman by executing \"curl -s 'https://get.sdkman.io|bash'\""
echo " 3. Execute \"sdk install java 17.0.9-graal\" and \"sdk install 8.0.402-tem\""
echo " Please create an issue and (if you want)"
echo " look into the source code and install"
echo " the packages and programs yourself."
;;
esac