Environment, Ubuntu 14.04
set up
1. <code>sudo apt-get install flex bison build-essential csh openjdk-6-jdk libxaw7-dev libc6-i386</code>
2. Make the /usr/class directory
<code>sudo mkdir /usr/class</code>
3. Make the directory owned by you
<code>sudo chown $USER /usr/class</code>
4. Go to /usr/class and download the tarball
<code>cd /usr/class</code>
<code>wget</code>
5. Untar
<code>tar -xf student-dist.tar.gz</code>
6. If you want things exactly like the VMs:
Add a symlink to your home directory
<code>ln -s /usr/class/cs143/cool ~/cool</code>
7. Add the bin directory to your $PATH environment variable. If you are using
bash, add to your .profile (or .bash_profile, .bashrc etc. depending on your
configuration; note that in Ubuntu have to log out and back in for this to take
effect):
vim ~/.bashrc and append
<code>PATH=/usr/class/cs143/cool/bin:$PATH</code>
8. you may also need to do this
<code>sudo apt-get install xfonts-75dpi xfonts-100dpi</code>
<code>xset +fp /usr/share/fonts/X11/75dpi</code>