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!

Advertisements

3 thoughts on “Compiling the Circuit Simulator kTechLab

  1. If you want to keep the installation inside your home directory, I recommend the following (replace ‘marcelo’ by your login account:

    cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/marcelo/bin/ktechlab ..
    make install

  2. kTechLab is new to me. I’ve never been very successful with spice in the past, except for very simple circuits – critical components were always missing from the parts library. How complete is the kTechLab parts library?

  3. Hi Celem, kTechLab is pretty complete. Also basic components and logic blocks are present. The interface is very friendly, but there are some silly BUGs. Please take a look, maybe it will fit your needs.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s