Building on Debian 10 (Buster)


Thank you all, now I have Kicad running again. I really appreciate the work of all contributors.
I installed all depending packages, then downgraded libglm-dev again and marked it to hold with:

$ sudo apt-mark hold libglm-dev

Then build process finished with success. Actually it failed on virtual machine due to some gl errors, but succeeded on real hardware.


Hi guys, according to your posts i have built kicad 5.1 on debian buster today. i installed below packages and then downgraded the GLM.

Install prerequisites

sudo apt install build-essential cmake libgl1-mesa-dev libglew-dev libglm-dev libcurl4-openssl-dev
libcairo2-dev libboost-dev liboce-foundation-dev liboce-ocaf-dev swig python3-dev python3-wxgtk4.0 libwxgtk3.0-gtk3-dev
libssl-dev libboost-test-dev libboost-filesystem1.67-dev

Downgrade GLM

sudo apt-mark hold libglm-dev
sudo dpkg -i libglm-dev_0.9.8.3-3_all.deb

Install kicad

mkdir -p build/release
cd build/release
cmake -DCMAKE_BUILD_TYPE=Release
make -j3
sudo make install
sudo ldconfig


See It’s not there yet, but downgrading GLM shouldn’t be necessary in the near future.


How should I execute python script with this setup (Buster + Kicad master compiled as written above)?
I tried, as earlier:

Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘execfile’ is not defined


Like this, exec(open(“”).read())


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.