Build Debian Packages - Heeks/heekscad GitHub Wiki

Libarea (requirement)

HeeksCAD requires libarea, this section will explain how to build and install libarea using the Debian way.

Install build dependencies

sudo apt install git build-essential debhelper cmake libboost-python-dev python-dev

Fetch sources

git clone https://github.com/Heeks/libarea.git
cd libarea

Build packages

dpkg-buildpackage -b -us -uc

This will produces 3 packages: libarea0, libarea-dev and python-area.

Install packages

cd ..
sudo dpkg -i libarea*.deb python-area*.deb

HeeksCAD

When libarea is correctly installed, we can build HeeksCAD packages the same way.

Install build dependencies

sudo apt install liboce-visualization-dev libwxgtk3.0-dev libgtkglext1-dev python-dev

Fetch sources

git clone https://github.com/Heeks/heekscad.git
cd heekscad

Build packages

dpkg-buildpackage -b -us -uc

This will produces 4 packages: heekscad, heekscad-dev, libheekstinyxml0 and libheekstinyxml-dev

Install run-time dependencies

If you want a fully translated version:

sudo apt-get install wx3.0-i18n

Install packages

cd ..
sudo dpkg -i *heeks*.deb

Optionnal: HeeksCNC

If you want to use HeeksCNC, CAM plugin, have a look to: https://github.com/Heeks/heekscnc/wiki/Build-Debian-Packages