Software dependencies
‘ip’ utility
socan and all the examples below assume that you have the ‘ip’ utility installed. This is part of the following packages that you must have installed:
For Fedora Linux : iproute
For Debian/Ubuntu: iproute2
For other distribution look up ‘ip’ or ‘iproute’ in your package repository.
CAN Bus device drivers
Socan accesses CAN devices on your system with SocketCAN.
For some CAN bus cards the standard linux kernel already has the drivers, for others you have to install drivers from the card manufacturer.
See also Set up your CAN device.
Development environment
Currently, there are no packages of socan. You have to compile the library yourself, so you need:
gcc
gnu Make
Recommended utilities
The following packages are not strictly needed but highly recommended:
can-utils : Various utility programs for the CAN bus