How to install SOEM on Ubuntu/Debian as a deb package

In order to install the SOEM EtherCAT master library on Ubuntu or Debian, you can use the deb package from the ulikoehler/soem PPA.

install-soem.sh
sudo add-apt-repository ppa:ulikoehler/soem
sudo apt update
sudo apt install libsoem libsoem-dev

We provide the package for amd64, arm64, i386 and armhf architectures.

How to build yourself

The SOEM in the PPA is built using the ulikoehler/deb-buildscripts code. In particular, just run deb-soem.py from that repository to build it:

build-soem.sh
git clone http://github.com/ulikoehler/deb-buildscripts
cd deb-buildscripts
./deb-soem.py

to build a package yourself. SOEM doesn’t require any dependencies beyond a compiler and the standard libraries.


Check out similar posts by category: EtherCAT, C/C++