mirror of
https://gitlab.com/ohwr/cern-kicad-libs.git
synced 2026-06-14 18:20:30 +00:00
Update README.md (add v9.x installation instructions)
This commit is contained in:
@@ -31,14 +31,49 @@ driver for your OS. These libraries use a database format, so an ODBC driver is
|
||||
required — please do not add the symbol and footprint libraries separately, they
|
||||
are not structured to be used that way.
|
||||
|
||||
> [!tip]
|
||||
> If you're on Linux and have installed KiCad using `flatpak install flathub
|
||||
> org.kicad.KiCad`, you can install an ODBC driver by running `flatpak install
|
||||
> org.kicad.KiCad.ODBCDriver.sqliteodbc`
|
||||
|
||||
The next step is to rename `CERN_Windows.kicad_dbl` or `CERN_Linux.kicad_dbl`
|
||||
(depending on your OS) to `CERN.kicad_dbl`. Then, in KiCad, go to **Preferences
|
||||
→ Configure Paths** and add a `CERN_LIB_DIR` variable pointing to your local
|
||||
library copy. Following that, open **Preferences → Manage Symbol Libraries** and
|
||||
add a new entry with format `Table`, nickname `CERN`, and the path pointing to
|
||||
library copy. After that point, installing the libraries for 9.x and 10.x can
|
||||
differ significantly, follow the ones for your version:
|
||||
|
||||
<details>
|
||||
<summary>Instructions for KiCad 9.x</summary>
|
||||
|
||||
> [!warning]
|
||||
> This will overwrite your existing library configuration: please back up your
|
||||
> `sym-lib-table` and `fp-lib-table` files first. If you want to mix the CERN
|
||||
> KiCad libraries with yours, you need to manually (and carefully) merge the
|
||||
> contents into your existing library table files (again, after backing them
|
||||
> up).
|
||||
|
||||
Copy `sym-lib-table` and `fp-lib-table` from the `CernLib` directory to the
|
||||
KiCad configuration directory (usually this will be %APPDATA%/kicad/9.0 for
|
||||
Windows installations, ~/.config/kicad/9.0 for Linux).
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Instructions for KiCad 10.x</summary>
|
||||
|
||||
Open **Preferences → Manage Symbol Libraries** and add a new entry with format
|
||||
`Table`, nickname `CERN`, and the path pointing to
|
||||
`${CERN_LIB_DIR}/sym-lib-table`; then do the same with **Preferences → Manage
|
||||
Footprint Libraries** and `${CERN_LIB_DIR}/fp-lib-table`. Finally, restart KiCad
|
||||
to apply the changes.
|
||||
Footprint Libraries** and `${CERN_LIB_DIR}/fp-lib-table`.
|
||||
|
||||
> [!note]
|
||||
> The v9.x instructions can be used for v10.x, as well; however, this method is
|
||||
> more flexible and makes it easier to combine the CERN KiCad libraries with
|
||||
> your existing ones.
|
||||
|
||||
</details>
|
||||
|
||||
Finally, restart KiCad to apply the changes.
|
||||
|
||||
## Licence
|
||||
|
||||
|
||||
Reference in New Issue
Block a user