This page describes how to install all the tools required to compile and develop programs for the MO5 from a Linux environment (or Codespaces / WSL / Ubuntu VPS).
Update package lists:
sudo apt updateInstall required build tools and dependencies:
sudo apt install build-essential flex bison libboost-all-dev libxml2-dev zlib1g-dev wget tarDownload:
(last version can be found here: http://gvlsywt.cluster051.hosting.ovh.net/dev/cmoc.html#download)
wget http://www.lwtools.ca/releases/lwtools/lwtools-4.24.tar.gzExtract:
tar -xzf lwtools-4.24.tar.gz
cd lwtools-4.24Build and install:
make
sudo make installDownload:
wget http://gvlsywt.cluster051.hosting.ovh.net/dev/cmoc-0.1.97.tar.gzExtract:
tar -xzf cmoc-0.1.97.tar.gz
cd cmoc-0.1.97Configure, build and install:
./configure
make
sudo make installcmoc --versionIf the version is displayed, the installation is successful ✅
python3 --version
pip3 --versionsudo apt update
sudo apt install python3 python3-pip python3-venvExample:
pip install PillowAt this point you have:
- lwtools installed
- cmoc installed
- python operational
- pip working
You are ready to compile MO5 projects and use utility scripts (image conversion, tooling, etc.).