Skip to content

Getting Started: Linux

Eric Sessoms edited this page Dec 21, 2021 · 7 revisions

See also Getting Started.

Prerequisites

The installer requires Python 3, CMake, and a C++ compiler.

# Arch
sudo pacman -S base-devel cmake

# Debian
sudo apt-get install build-essential cmake python3

# Fedora
sudo dnf group install "Development Libraries" "Development Tools"
sudo dnf install cmake

# Gentoo
sudo emerge cmake

Optional prerequisites

To build a full system including the UI libraries, you must install X11 and OpenGL.

# Arch
sudo pacman -S glu mesa xorg-server-devel

# Debian
sudo apt-get install libglu1-mesa-dev xorg-dev

# Fedora
sudo dnf install libXaw-devel libXft-devel mesa-libGLU-devel

# Gentoo
sudo emerge mesa

Headless install

The default install doesn't try to build the UI libraries.

wget https://github.com/modula3/cm3/releases/download/d5.11.4/cm3-dist-AMD64_LINUX-d5.11.4.tar.xz
tar Jxf cm3-dist-AMD64_LINUX-d5.11.4.tar.xz
cm3-d5.11.4/scripts/concierge.py install --prefix $HOME/cm3
PATH=$HOME/cm3/bin:$PATH

Full install

Specify "all" to build the UI libraries.

wget https://github.com/modula3/cm3/releases/download/d5.11.4/cm3-dist-AMD64_LINUX-d5.11.4.tar.xz
tar Jxf cm3-dist-AMD64_LINUX-d5.11.4.tar.xz
cm3-d5.11.4/scripts/concierge.py install --prefix $HOME/cm3 all
PATH=$HOME/cm3/bin:$PATH
Clone this wiki locally