cancompare command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cancompare: command not found
or when using sudo you get the following error message
sudo: cancompare: command not found
Solutions to cancompare: command not found
How To Fix cancompare: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cancompare is provided by canmatrix-utils package.
canmatrix-utils is:
Canmatrix implements a “Python CAN Matrix Object” which describes the CAN-communication itself and some auxiliary objects (Boardunits, Frames, Signals, Values, …) Canmatrix also includes two Tools (canconvert and cancompare) for converting and comparing CAN databases. There are also some extract and merge options for dealing with CAN databases.
Supported file formats for import:
- .dbc candb / Vector
- .dbf Busmaster (open source!)
- .kcd kayak (open source!)
- .arxml autosar system description
- .yaml dump of the Python object
- .xls(x) excel xls-import, works with .xls-file generated by this lib
- .sym peak pcan can description Supported file formats for export:
- .dbc
- .dbf
- .kcd
- .xls(x)
- .json Canard (open source!)
- .arxml (very basic implementation)
- .yaml (dump of the Python object)
- .sym
This package provides the cmdline tools.
To fix this problem, we can install more using the command below.
sudo apt-get -y install canmatrix-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install canmatrix-utils.
sudo apt -y install canmatrix-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install canmatrix-utils
Summary
In this tutorial we learn how to fix cancompare command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.