Day: February 19, 2017

Compiling the Circuit Simulator kTechLab

I was searching for a circuit simulator for Linux and found kTechLab.

There is not a built package for Ubuntu (I’m using Ubuntu 16.04) then I compiled it from source code:

$ git clone https://github.com/ktechlab/ktechlab
$ cd ktechlab/
$ sudo apt-get install libqt4-dev
$ sudo apt-get install kdelibs5-dev
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Then I just execute:

$ ktechlab

And kTechLab starts in all its glory!

Update: to install kTechLab on Ubuntu 20.04 I also installed:

sudo apt install extra-cmake-modules
sudo apt install libqt5serialport5-dev
sudo apt install libkf5completion-dev
sudo apt install libkf5config-dev
sudo apt install libkf5core
sudo apt install libkf5coreaddons-dev
sudo apt install libkf5configwidgets-dev
sudo apt install libkf5doctools-dev
sudo apt install libkf5iconthemes-dev
sudo apt install libkf5kio-dev
sudo apt install libkf5parts-dev
sudo apt install libkf5texteditor-dev
sudo apt install libkf5windowsystem-dev
sudo apt install gpsim-dev