KiCad for RHEL / CentOS?


#1

Is KiCad available for Red Hat Enterprise Linux (RHEL) or CentOS? I was very surprised not to see RHEL/CentOS listed among the supported Linux distros on the Download page, especially since that’s what’s used at CERN. What gives?


#2

Well at least the nightly builds are available for centos.
https://copr.fedorainfracloud.org/coprs/mangelajo/kicad/


#3

How about the current stable release?


#4

apart trying to build it from source (@ajo would help you), I think it should be possible to try the snap build in centos


#5

Oh, interesting. Thanks! I wasn’t familiar with “snap”. Reading about it, it sounds like a great thing for the Linux ecosystem as a whole if it delivers on its promise. Looks like snap is not available on CentOS quite yet, but is in the works and hopefully will be available soon.


#6

Same problem here. Using CENTOS7.
Is there any way around build from source? I really don’t want to build WxWidgets 3x (can it break dependencies in my setup? I don’t know)

Any help will be welcome!
Matan


#7

if you cannot wait for Snap in Centos, you can try and get some details here
https://copr.fedorainfracloud.org/coprs/mangelajo/kicad/

Description
This is a nightly built repository for KiCad http://www.kicad-pcb.org/ with wxPython and wxGTK3(gtk2 based) and python scripting enabled.
wxGTK3 warning:
If you have other applications installing wxGTK3 you may need to
uninstall the other wxGTK3, because they will be conflicting. We cannot
use the compat layer from fedora for wxGTK3-gtk2 because it does not
provide wxPython support.
EL7 warning:
Please note that we’re upgrading boost, cmake and swig for el7 systems to more up to date versions.


Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release Architectures Repo Download
Epel for CentOS 7 x86_64 (2)*
(235 downloads)


#8

Check out my AppImage for Linux:


#9

I was successfully able to install KiCad on CentOS 6 using the following instructions:

  1. Download wxWidgets
$ cd ~
$ curl -O -L https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.3/wxWidgets-3.0.3.tar.bz2
$ tar -xvjf wxWidgets-3.0.3.tar.bz2

Now, to build:

$ cd wxWidgets-3.0.3
$ mkdir buildgtk
$ cd buildgtk
$ ../configure --with-gtk
$ make

Now, install some other dependencies

$ sudo yum install cmake boost boost-devel zlib zlib-devel cairo glew libcurl libcurl-devel

Now, install glm:

$ cd ~/
$ git clone https://github.com/g-truc/glm
$ cd glm
$ git checkout 0.9.8.4
$ cmake .
$ make
$ sudo make install

Now, we download KiCad:

$ cd ~/
$ git clone https://github.com/KiCad/kicad-source-mirror
$ cd kicad-source-mirror
$ mkdir build
$ cd build
$ cmake ../ -DwxWidgets_CONFIG_EXECUTABLE=$HOME/wxWidgets-3.0.3/buildgtk/wx-config
$ make
$ sudo make install

Then you should be able to run kicad if you update your LD_LIBRARY_PATH:

$ export LD_LIBRARY_PATH=~/wxWidgets-3.0.3/buildgtk/lib:$LD_LIBRARY_PATH
$ kicad