Hi! I saw a couple of threads around asking about spftware for engineers. And I was lucky enough to discover how to install Piklab in a very simple way. Piklab is a neat software for working with Microchip's PIC and dsPic microcontrollers. It's based here:
So... the easy way (compiling it under Ubuntu is rather complicated, since it is created for KDE and compilation needs many dev packages, which for me were just too many to install) is to just alien-ate an rpm and then make the necessary adjustments. But... enough blah-blah.
1. Download the binary rpm from
2. Go to the download directory.
3. (Only where needed) Install alien, to convert rpm to deb
cd <directory where you downloaded the package>
4. Alien-ate the rpm:
sudo apt-get install alien
5.Install the resulting deb package:
sudo alien piklab-0.3.2-1mdk.i586.rpm
6. Now this was about installing the package, but it ain't over yet. It needs a couple of dependencies which it won't show at install-time. So...
sudo dpkg -i piklab_0.3.2-2_i386.deb
(If you have ANY kde app installed it is quite likely you will also have libpcre, so maybe you want to check it out before installing, although I think apt-get skips it anyway if it is already installed and goes on to the missing packages).
sudo apt-get install gputils libpcre3
7. And last step... Make Piklab find libraries it needs
8. That's it! Now, just run
sudo ln -s /usr/lib/libpcreposix.so.3.12.0 /usr/lib/libpcreposix.so.0
sudo ln -s /usr/lib/libpcre.so.3.12.0 /usr/lib/libpcre.so.0
and you're good to go. Oh! It also needs libusb, but it's highly unlikely you don't have it installed, since even hal depends on it.
I must admit I didn't get the chance to really try it out yet, because my hardware setup isn't done yet, for working with dsPic. But maybe someone will tell me how that works out before I get to test it.
Info: This installation wasn't made on a clean install of Ubuntu (I am using Breezy now, but this should apply to other versions too) so there might be packages on my system which piklab uses without my knowing about it. If you run into any problems please post them here. If you have a solution, all the better, otherwise we can find one together and then improve the howto.
I am open to any kind of feedback and/or suggestions.
EDIT may 6th 2006: some corrections. Thanks egghead3 for pointing them out!