Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to install ktechlab in Ubuntu 11.10? enter image description here

share|improve this question
There used to be a package in Ubuntu repositories, but it's not available for Oneiric. I wonder why was it removed. – Rafał Cieślak Mar 28 '12 at 21:22
It was removed because it relies on old KDE 3.x libraries. see - according to that bug you can install the deb package from maverick. – Alistair Buxton Mar 29 '12 at 0:11
How about some alternative to it? – Ashu May 25 '12 at 8:23
I trid many alternatives , but Did'nt got a perfect replacement – Tachyons May 25 '12 at 8:26
See if this or this could help – Ashu May 27 '12 at 9:25
up vote 5 down vote accepted

Compiling and Installing the latest ktechlab on Ubuntu 11.10+

This will get the latest, KDE4-port-in-progress ktechlab installed on Ubuntu 11.10 (and probably 12.04). Getting it to work may be a different story since I'm not familiar with the software. This assumes you are at the top-level of your home directory:

sudo apt-get install git kdelibs5-dev kdevplatform-dev qt4-dev-tools cmake libglib2.0-dev
mkdir git-ktechlab && cd git-ktechlab
git clone git://
cd ktechlab
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local/
sudo make install
kbuildsycoca4 &> /dev/null
update-mime-database /usr/share/mime

And then run with ktechlab. Note that it segfaults for me when clicking "New" but appears to open existing projects successfully.

Alternately, short of setting up a virtual machine running Lucid, the other option may be to create a Lucid chroot, bind your home directory to it and set the X display appropriately so that ktechlab 0.3.x is running "natively" on your 11.10 display.

Somewhat off-topic: I've never used ktechlab, but have quite a bit of experience with embedded programming, in particular PICs; but most of it was using MPLAB (and a little gpsim) along with the ICD2 (in-circuit debugger) instead of a simulator. Perhaps an ICD might work for your purposes?

share|improve this answer

Ubuntu 64bits 12.04 With this script you can solved it:

share|improve this answer

Since the work of porting ktechlab has been, unfortunately, done in the spare time of the developers, it may be a very long time before we can use it in the latest versions of Ubuntu (Kubuntu, Xubuntu, etc).

However I came across this very interesting "how-to".

It made sense and I am in the process of following the instructions to install lucid in a chroot jail to run ktechlab. It explains how you can configure it to set an icon on your desktop and a simple click from 12.04.

The site is in Portuguese, however if you use chromium-browser (and maybe others) you can translate it. Be careful with cut and pasting commands as the English translation of the commands added spaces. Just copy and paste in terminal the original text. do each step in order.

Here is the site: Click this link: How-to install ktechlab using chroot for Ubuntu 12.04

There is also a YouTube video here.

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Aditya Oct 4 '13 at 8:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.