I am running Ubuntu 18.04 in Virtualbox. I am trying to install KiCad and followed steps given here: https://kicad.org/download/ubuntu/
sudo add-apt-repository --yes ppa:kicad/kicad-5.1-releases
sudo apt update
sudo apt install --install-recommends kicad
# If you want demo projects
sudo apt install kicad-demos
But after doing this I am getting KiCad 4.0.7 installed in my ubuntu instead of 5.1.6.
Earlier there was no PPA compiled for 18.04 but there was for 20.04 that’s why it was not working and installing old KiCad.
Now KiCad team has released 18.04 compiled PPA as well so now using same commands we can get latest KiCad Installed.
July 26, 2020, 4:59am
I don’t use Ubuntu much. Have you tried a visual installer like Synaptic to see what is going on? I know Debian took forever to update to the 5.X but I thought even they were in the 5’s now. Sounds like you’re getting the old defaults somehow.
Also, do a purge of the old. You might also want to look in your .config directory to make sure it is completely gone before trying again because there are some gotchas that you can check out in the FAQ section about upgrading from 4 to 5.
July 26, 2020, 5:20am
Did you have a clean new installation of Ubuntu where you added the ppa and installed kicad? Did you have another repository activated before ppa:kicad/…?
Can you link me to that FAQ? I also tried to install via Software Center but it also shows old version there.
Yes, it was freshly installed Ubuntu only and never installed KiCad. I followed those steps and got that older version itself.
July 26, 2020, 1:31pm
There is a link to the FAQ section in the toolbar. It sounds as if your repository never got added. Check to see if it is listed in /etc/apt/sources.list .
I think it is getting added as I can see that PPA here.
July 26, 2020, 2:28pm
But it looks like it’s not active (no tickmark)?
July 26, 2020, 2:32pm
Yeah. I was just checking my system to see how they should look. On my system the little boxes turn blue when the repo is enabled.
I am getting this when I click on that. And it was this tick with Orange earlier. I just unchecked it to see if this makes a difference.
July 26, 2020, 2:45pm
Maybe it’s time to go command line?
What does it show?
July 26, 2020, 2:49pm
When you do
sudo apt update, does it hit the kicad-5.1-releases repository?
Yes, Looks like it does as I am seeing this in result where it shows 5.1-releases.
Just now I uninstalled older version and trying to do this as a fresh installation.
http://in.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Fetched 88.7 kB in 1s (144 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
July 26, 2020, 2:56pm
apt show kicad show?
July 26, 2020, 3:02pm
That’s definitely wrong. What’s the output if you do
apt install kicad again?
It installs 4.0.7 version only.
July 26, 2020, 3:04pm
apt show -a kicad, does it show both versions?
http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu/pool/main/k/kicad/ contains packages starting kicad_5, not kicad-5.
apt search kicad
apt install kicad_5