# Installing Clozure CL and QuickLisp on CentOS 7

## Download Clozure CL
Open up terminal and enter the command: `svn co http://svn.clozure.com/publicsvn/openmcl/release/1.11/linuxx86/ccl` Where `linuxx86` is one of:
- `darwinx86`
- `linuxx86`
- `freebsdx86`
- `solarisx86`
- `windows`
- `linuxarm`

## Download and Install QuickLisp
1. Download QuickLisp from [https://beta.quicklisp.org/quicklisp.lisp](https://beta.quicklisp.org/quicklisp.lisp)
2. Enter the command: `./ccl/lx86cl64 --load /path/to/quicklisp.lisp`
3. In the CCL prompt enter: `(quicklisp-quickstart:install)(ql:add-to-init-file)`

## Creating Scripts to Run CCL
1. Edit `./ccl/scripts/ccl` and `./ccl/scripts/ccl64` to change `CCL_DEFAULT_DIRECTORY=/usr/local/src/ccl` line to `CCL_DEFAULT_DIRECTORY=~/ccl`
2. Copy the scripts to `/usr/local/bin` directory: `sudo cp ./ccl/scripts/ccl* /usr/local/bin/`

## References
- [Linux Format Article](http://www.pressreader.com/australia/linux-format/20160804/281599534867185)
- [Clozure CL Official Download Page](http://ccl.clozure.com/download.html)