Add a shell script to install sbcl
This commit is contained in:
parent
58c771af04
commit
ee1ecbf5db
1 changed files with 23 additions and 0 deletions
|
@ -64,6 +64,7 @@ packages:
|
|||
- python3-certbot-nginx
|
||||
- libev4
|
||||
- build-essential
|
||||
- libzstd-dev
|
||||
- libsqlite3-dev
|
||||
- sqlite3
|
||||
- emacs-nox
|
||||
|
@ -435,6 +436,28 @@ write_files:
|
|||
http_user_agent TEXT
|
||||
);
|
||||
|
||||
- path: /home/cl/setup_sbcl.sh
|
||||
owner: 'cl:cl'
|
||||
permission: '0755'
|
||||
defer: True
|
||||
content: |
|
||||
#!/bin/bash
|
||||
# Exit on error
|
||||
set -e
|
||||
# Download SBCL source
|
||||
wget http://prdownloads.sourceforge.net/sbcl/sbcl-2.3.10-source.tar.bz2
|
||||
# Extract it
|
||||
tar -xjf sbcl-2.3.10-source.tar.bz2
|
||||
# Change into the directory
|
||||
cd sbcl-2.3.10
|
||||
# Compile and install
|
||||
sh make.sh --fancy
|
||||
sudo sh install.sh
|
||||
# Check version
|
||||
sbcl --version
|
||||
# Remove ubuntu specific sbcl
|
||||
sudo apt remove sbcl -y
|
||||
|
||||
runcmd:
|
||||
# Generate the en_US.UTF-8 locale
|
||||
- locale-gen en_US.UTF-8
|
||||
|
|
Loading…
Add table
Reference in a new issue