Skip to content

Installing Using a Package Manager

Tarn W. Burton edited this page May 26, 2022 · 13 revisions

Work is in progress to enable build and installing Clasp/Cando from package managers such as apt-get, brew, etc. Currently, the only supported package is the Arch AUR package. If you are using MacOS or a non-Arch based Linux distribution you will need to build Clasp/Cando from source.

Installing on Arch using a AUR helper

Installing Clasp on Arch can be done using an AUR helper such as yay. Building in this manner using the clasp-cl-git package will build Clasp while cando-git will build Clasp and Cando. If you do not have yay installed you can install via the following commands.

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Once yay is installed you can installation Clasp with yay clasp-cl-git or Clasp and Cando with yay cando-git.

Installing from the Nightly Package Repository

Binary packages for Clasp and Cando are built nightly starting about 2:00 AM EST and take about 4 hours to complete. Currently packages are built for Ubuntu 22.04, Debian Bookworm (in testing), and Arch. To add the package repository to your local system and install either Clasp or Cando execute one of the following commands in a shell. You may need to prefix these commands with sudo for root access.

  • Ubuntu/Debian
    • Clasp
      bash -c "$(curl -fsSL https://www.thirdlaw.tech/pkg/deb-clasp.sh)"
    • Cando
      bash -c "$(curl -fsSL https://www.thirdlaw.tech/pkg/deb-cando.sh)"
  • Arch
    • Clasp
      bash -c "$(curl -fsSL https://www.thirdlaw.tech/pkg/arch-clasp.sh)"
    • Cando
      bash -c "$(curl -fsSL https://www.thirdlaw.tech/pkg/arch-cando.sh)"
Clone this wiki locally