GNU/Linux
Lem 2.1 was released! It provides binaries for Linux, MacOS and Windows.
Enable the AUR arch package system https://wiki.archlinux.org/title/Arch_User_Repository
Run the installation command:
sudo pacman -Sy lem-editor-git
There is an automatic installer that works on Debian, Linux Mint and Ubuntu.
Before that, install the dependencies:
sudo apt install sbcl curl git
Now, run the command that will install Lem:
curl -L https://lem-project.github.io/linux_installer.sh | bash
Important places from the script installation:
$HOME/common-lisp/lem
(Lem installation location)/usr/local/bin/lem
(Lem symlink)
Please install roswell at first, Roswell Installation Guide.
After that, please follow the steps bellow.
- Install lem by roswell
$ ros follow-dependency=t install lem-project/lem
- Add the PATH in the initialization file (such as
~/.bashrc
)
export PATH=$PATH:~/.roswell/bin
Clone the Lem repository and build a Docker image:
$ docker build -t lem .
You can now run it:
$ docker run --rm -it -v .:/shared lem
- Debian-like distro
sudo apt install sbcl libncurses5-dev build-essential
- Fedora
sudo yum install sbcl ncurses-devel make automake gcc gcc-c++
- OpenSuse
sudo zypper install sbcl ncurses-devel make devel_basis
- Automatic installer
curl -L https://qlot.tech/installer | bash
For an alternative installation, https://github.com/fukamachi/qlot#installation
- Create the directories
mkdir $HOME/common-lisp && cd $HOME/common-lisp
git clone https://github.com/lem-project/lem.git
cd lem && make ncurses
- Copying the PATH to
~/.bashrc
export PATH="$HOME/common-lisp/lem:$PATH"