Install libsocketcan2 by entering the following commands in the terminal:
sudo apt update sudo apt install libsocketcan2
Description:
library to control some basic functions in SocketCAN from userspace
This userspace library allows one to do common configure/control tasks on SocketCAN interface.
Homepage: http://git.pengutronix.de/?p=tools/libsocketcan.git
Version: 0.0.10+git20140721-6
Section: universe/libs