Skip to content

Instantly share code, notes, and snippets.

@garlic0x1
Last active February 7, 2024 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garlic0x1/78751fc71b10f8e0925c9f655204e0de to your computer and use it in GitHub Desktop.
Save garlic0x1/78751fc71b10f8e0925c9f655204e0de to your computer and use it in GitHub Desktop.
Setup Lisp Machine (Fedora)
#!/bin/bash
set -x
### Packages
dnf update -y
dnf install -y sbcl git make gcc ncurses-devel redhat-rpm-config curl rlwrap
### Config
curl https://raw.githubusercontent.com/garlic0x1/dotfiles/master/.bashrc > ~/.bashrc
git clone https://github.com/garlic0x1/.lem ~/.config/lem
### Applications
mkdir tools
pushd tools
# install quicklisp
curl https://beta.quicklisp.org/quicklisp.lisp > ql-install.lisp
yes "" | sbcl \
--load ql-install.lisp \
--eval '(quicklisp-quickstart:install)' \
--eval '(ql:add-to-init-file)' \
--eval '(quit)'
# install qlot
git clone https://github.com/fukamachi/qlot
pushd qlot
./scripts/setup.sh
./scripts/install.sh
popd
# install lem
git clone https://github.com/lem-project/lem
pushd lem
make ncurses
cp lem /usr/bin/lem
make jsonrpc
cp lem-jsonrpc /usr/bin/lem-jsonrpc
popd
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment