Installing asdf
How to setup asdf package manager
# Create the directory if it doesn't exist
mkdir /srv/guest
# Change permission
sudo chown guest:guest /srv/guestCopying from USB drive
Mount the USB
sudo mount /dev/sdX4 /mnt
# Replace X with the appropriate device letterCopy the tarball
Do this as guest
rsync -avP /mnt/guest/asdf.tar.gz /srv/guest/
Unpack and remove the tarball
cd /srv/guest
tar -xzvf asdf.tar.gz
rm asdf.tar.gzUnmount the USB drive
sudo umount /mnt
Installing from github
Do this as guest
Clone the repo
cd /srv/guest
git clone https://github.com/asdf-vm/asdf.gitAdd the plugins
asdf plugin-add ruby
asdf plugin-add haskell
asdf plugin-add java
asdf plugin-add clojureInstall the specific versions
The versions below are just examples… Install them only for uniformity
asdf install ruby 3.3.5
asdf install haskell 9.10-latest
asdf install java openjdk-23
asdf install java 1.11.4.1474Create a tarball
tar -czvf asdf.tar.gz asdfYou can pull the file within the class network