Sunday, January 7, 2018

How to install KICAD libraries in Ubuntu Linux (or Mint)

After installing KiCAD from PPA on my Linux machine, I had no libraries installed.  Here's he method used to install the libraries from github.  I did the following with KiCAD 4.0.7.

1. Use github to pull the kicad libraries:
~/Projects $ git clone https://github.com/KiCad/kicad-library.git

2. Switch to kicad-library and do: 
~/Projects/kicad-library $ cmake .


3. After cmake creates the makefile, run:
sudo make install


4. Watch the output of the above command.  You should find that stuff gets installed into
/usr/local/share/kicad

5. Restart KiCAD and adjust paths under
Preferences->Configure Paths


6. Restart KiCAD again.

You may *still* see this window in Linux:


This is because, as near as I can tell, these are old library names, and in Linux, they should be case-sensitive.  For example, the above error shows that "switches" is not found, but:



Notice there is a "analog_switches.lib" as well as a "Switch.lib".  From the Component libraries preferences, you can remove *all* of the default component library files:



Now click "Add" and select *all* of the *.lib files from /usr/local/share/kicad/library.






1 comment:

  1. Generally if the option has been around spot for a while, consequently a chance to pull together together with evaluation pieces of information as well as final thoughts is available. https://imgur.com/a/h4kx883 https://imgur.com/a/lafHDDF https://imgur.com/a/m3Bup99 https://imgur.com/a/yTsYW6d https://imgur.com/a/ekGw2ey http://62393tqv13.dip.jp https://imgur.com/a/dNVyP0z

    ReplyDelete