How to install KiCad 2013-07-07 BZR 4022 on Ubuntu 64

KiCad has been updated to 4.0.x branch and it is strongly recommended to use it for all your new projects, instead of the good old BZR 4022 from 2013.

But sometimes, when you want to open an old design without too much trouble, it’s more convenient to just install the old version.

Tested on Ubuntu 16.04.5 LTS

Old Kicad versions can be found here: http://downloads.kicad-pcb.org/archive/

If you encounter this:

/usr/local/kicad/bin/kicad: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Then it’s probably because BZR 4022 is a 32 bit only software and you’re using a 64 bit OS.

You need to install libgtk2.0-0:i386:

sudo apt install libgtk2.0-0:i386

It might be also necessary to install the following packages:

sudo apt install libxxf86vm1:i386 libsm6:i386 lib32stdc++6 libglu1-mesa:i386

Then you might have this:

$ /usr/local/kicad/bin/kicad

(kicad:22433): Gtk-WARNING **: Unable to locate theme engine in module_path: « murrine »
(kicad:22433): Gtk-WARNING **: Unable to locate theme engine in module_path: « pixmap »
(kicad:22433): Gtk-WARNING **: Unable to locate theme engine in module_path: « murrine »
(kicad:22433): Gtk-WARNING **: Unable to locate theme engine in module_path: « murrine »
(kicad:22433): Gtk-WARNING **: Unable to locate theme engine in module_path: « murrine »
(kicad:22433): Gtk-WARNING **: Unable to locate theme engine in module_path: « murrine »

(...)

To solve the warnings, you need to install:

sudo apt install gtk2-engines:i386 gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386

Ubuntu >= 19.x

On recent versions of Ubuntu, you might encounter this error message:

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

The problem is that libpng12-0 isn’t available any more on the latest releases.
You must download first a .deb package manually:

wget http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_i386.deb

Then install it using dpkg -i:

sudo dpkg -i libpng12-0_1.2.54-1ubuntu1.1_i386.deb

4 thoughts on “How to install KiCad 2013-07-07 BZR 4022 on Ubuntu 64

Leave a Reply

Your email address will not be published. Required fields are marked *