These instructions are for your personal machines only. Lab machines are already equipped with RARS. Do not run the RARS installation scripts on the lab machines.
To run the RARS simulator you must have Java (Java 1.8+) installed in your system. Java can be downloaded from this page. In addition, to run the installation script you will need bash installed on your machine.
Check out this Linux Installation Instructions Video (YouTube) by Noah Gergel.
You can download the script getRARS.sh and run the
command below in a terminal where the script is downloaded. This will download RARS
and set the executable (the script will require your password to set everything up).
chmod +x getRARS.sh; ./getRARS.sh
You can uninstall and remove
all files using the following command:chmod +x $HOME/.229files/cleanup.sh;
$HOME/.229files/cleanup.sh
If the script does not work, you can follow the instructions below to setup the rars executable:
sudo mv rars /usr/local/bin/rars
sudo chmod +x /usr/local/bin/rars
rars
chmod +x cleanup.sh; ./cleanup.sh