sudo apt update; sudo apt install default-jdk
java --versionshould yield
openjdk 11.0.6 2020-01-14 OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)and the following command:
javac --versionshould yield
javac 11.0.6
curl --url https://faculty.cs.usna.edu/IC211/docs/codeprint -o ~/bin/codeprint chmod +x ~/bin/codeprintFrom off the yard on the public internet:
curl --url https://www.usna.edu/Users/cs/bhawkins/IC211/docs/codeprint -o ~/bin/codeprint chmod +x ~/bin/codeprint
sudo apt-get install gnuplot-x11You'll have to enter your VM password. After this, gnuplot should be available. To make sure everything's good, try the command:
echo "plot sin(x) with lines" | gnuplot -pIf a window with a plot of the sine function pops up, you're good to go.
csunixmount
. This creates a directory named csunix
in your home directory on the VM, and mounts your CS Department Unix home directory there. I.e. ~/csunix
on the VM is the same as ~/
on your CS Department Unix account. In case you need to un-mount your CS Department Unix home directory, the command is fusermount -u ~/csunix
.