Installing PLT Scheme from Source
April 9th, 2008
Installing PLT Scheme
To install for Unix-based machines:
1. cd /usr/src
2. curl -O http://download.plt-scheme.org/bundles/372/plt/plt-372-src-unix.tgz
3. tar xzf plt-372-src-unix.tgz
4. cd plt-372/src
5. ./configure
6. make
7. make install
One thing to note at this point is that the installation is in-place, meaning it will
install everything to /usr/src/plt-372/.
So if you want to install in a separate directory, I normally just mv the plt-372
directory to /usr/plt.
8. cd /usr/src
9. mv plt-372 /usr/plt
Now you need to make sure the binaries are executable from your path.
10. vim ~/.bash_profile
Add /usr/plt/bin to your path by doing something like export PATH=/usr/plt/bin:$PATH
11. source ~/.bash_profile
Type mzscheme at the console. If it drops you into the mzscheme interface then you’re golden. Exit mzscheme by doing a Ctrl+D command.
Leave a Reply