Setup Your Account
Setup, Iteration 1
Add to Your PATH
Linux machines use an environment variable named
PATH
to find executable files for you to run on the
command line. I've put several interpreters and compilers in a
special locations for us: /home/cs/214/bin
.
Add this path to your PATH variable in your .bashrc
file.
If you don't know how to do this, here's how it breaks down:
- Start up a simple text editor (vi, emacs, gedit).
- Open the file
~/.bashrc
in your editor. (The~/
indicates that it's in your home directory.) - Add this line to the end of the file:
export PATH=/home/cs/214/local/bin:$PATH
- Make sure there's a blank line after this!
- Save the file.
- Open a new terminal window.
You can verify that you've done things correctly by trying to run these commands:
pl
ghci