Install kicad 5.1 old version ubuntu

hi!
does anyone know how can i install kicad 5.1 old version ubuntu?
thank you

What’s your reason for wanting to use 5.1? Do you have to share your files with someone still running 5.1? You realise that if you switch to 5.1 you cannot open any projects you already started with 6.0, you have to start a new project.

for a specific application, I need a 5.1 version. do you know how I can get the download link for ubuntu?

Perhaps the least risky is to install the Appimage for 5.1, see How can I have Kicad version v5 and the new v6 together in the same machine while v6 is not still official? - #72 by maui

If you are replacing 6.0 (in general 2 native versions cannot co-exist on Linux), you have to uninstall all the 6.0 packages, then remove the repository lines for 6.0 from the apt sources list, and then install the 5.1 packages. If you don’t remove the repository lines for 6.0 it will just reinstall 6.0 as that is the highest version available.

I am not very good with this command line stuff, but a bit of peeking with:

paul@cezanne:~$ man apt

and then:

paul@cezanne:~$ apt list kicad -a
Listing… Done
kicad/focal,now 6.0.5-0-202205040755+a6ca702e91~116~ubuntu20.04.1 amd64 [installed]
kicad/focal 5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1 amd64
kicad/focal 5.1.5+dfsg1-2build2 amd64

I’m quite happy with KiCad V6.0.5 myself, but if you read the apt manual, then it has instructions for installing an older version. I was curious if it worked, so I uninstalled Kicad and installed an older version:

paul@cezanne:~$ sudo apt remove kicad
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kicad-demos kicad-doc-en kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates
  libfreeimage3 libglew2.1 libjxr0 libngspice0 libocct-data-exchange-7.5 libocct-foundation-7.5
  libocct-modeling-algorithms-7.5 libocct-modeling-data-7.5 libocct-ocaf-7.5 libocct-visualization-7.5
  libtbb2 python3-sip python3-wxgtk4.0 xsltproc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  kicad
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 207 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 515910 files and directories currently installed.)
Removing kicad (6.0.5-0-202205040755+a6ca702e91~116~ubuntu20.04.1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...

paul@cezanne:~$ sudo apt install kicad=5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  kicad-locale-ko | kicad-locale-ru | kicad-locale-pl | kicad-locale-pt | kicad-locale-ja
  | kicad-locale-id | kicad-locale-ca | kicad-locale-it | kicad-locale-el | kicad-locale-zh
  | kicad-locale-de | kicad-locale-sl | kicad-locale-cs | kicad-locale-bg | kicad-locale-sv
  | kicad-locale-lt | kicad-locale-fi | kicad-locale-fr | kicad-locale-hu | kicad-locale-nl
  | kicad-locale-es | kicad-locale-sk
The following NEW packages will be installed:
  kicad
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 22,9 MB of archives.
After this operation, 100 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal/main amd64 kicad amd64 5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1 [22,9 MB]
Fetched 22,9 MB in 3s (8.303 kB/s)
Selecting previously unselected package kicad.
(Reading database ... 515722 files and directories currently installed.)
Preparing to unpack .../kicad_5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1_amd64.deb ...
Unpacking kicad (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) ...
Setting up kicad (5.1.12-202111050916+84ad8e8a86~92~ubuntu20.04.1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...

and it works, I now have the older KiCad V5.1.12 installed.

For this to work you do have to have the right repositories installed. (as retiredfeline mentioned below)
I currently have:

paul@cezanne:/etc/apt/sources.list.d$ ls -dhl kicad*
-rw-r--r-- 1 root root 150 Dec 18 20:21 kicad-kicad-5_1-releases-focal.list
-rw-r--r-- 1 root root 150 Dec 26 13:50 kicad-kicad-6_0-releases-focal.list
-rw-r--r-- 1 root root 148 Dec 18 20:27 kicad-kicad-dev-nightly-focal.list

paul@cezanne:/etc/apt/sources.list.d$ cat kicad*
deb http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal main
# deb-src http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal main
deb http://ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu focal main
# deb-src http://ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu focal main
deb http://ppa.launchpad.net/kicad/kicad-dev-nightly/ubuntu focal main
# deb-src http://ppa.launchpad.net/kicad/kicad-dev-nightly/ubuntu focal main

dpkg is another program in the parts management. with it you can download a package without installing it and this can be handy if you want to archive some specific kicad version. I think that normally whole packages get cached during the install process and that the package remains in that cache for some time. Just copying that package from the cache to some backup medium probably also works.

thanks for your help…
but the problem is that: i had the 6 version, i un-installed it completely, now i want to install 5 version ( with librarys) completely on ubuntu… but i cant find an install link( containing the librarys)

This is the PPA for the 5.1 series for Ubuntu.

The installation instructions are similar to those for 6.0: add the repository line to the apt sources list, then install the application and recommended additional packages, see the To use it: instructions on the page.

thank you for helping :innocent:

thank you so much for helping

1 Like

If I would want to install v5 now, I would do that inside VirtualBox alongside v6. In case Vbox have Windows OS, full installers can be found here: KiCad Downloads. This is not an answer to your question, but may be a hint for others :slight_smile: