Add a shell script to install sbcl

This commit is contained in:
Marcus Kammer 2023-11-05 11:54:49 +01:00
parent 58c771af04
commit ee1ecbf5db
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -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