isotpserver command not found

In this troubleshooting guide we learn how to fix isotpserver command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

isotpserver: command not found

or when using sudo you get the following error message

sudo: isotpserver: command not found

Solutions to isotpserver: command not found

How To Fix isotpserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu isotpserver is provided by can-utils package.

can-utils is:

CAN is a message-based network protocol designed for vehicles originally created by Robert Bosch GmbH. SocketCAN is a set of open source CAN drivers and a networking stack contributed by Volkswagen Research to the Linux kernel.

This package contains some userspace utilities for Linux SocketCAN subsystem.

Basic tools to display, record, generate and replay CAN traffic: candump, canplayer, cansend, cangen, cansniffer, cansequence. CAN access via IP sockets: canlogserver, bcmserver, socketcand. CAN in-kernel gateway configuration: cangw. CAN bus measurement and testing: canbusload, can-calc-bit-timing, canfdtest. ISO-TP (ISO 15765-2 2016) tools: isotpsend, isotprecv, isotpsniffer, isotpdump, isotpserver, isotpperf, isotptun. CAN log file converters: asc2log, log2asc, log2long. CAN Serial Line Discipline configuration (for slcan driver): slcan_attach, slcand, slcanpty. SAE J1939 tools and demo: j1939acd, j1939cat, j1939spy, j1939sr, testj1939.

To fix this problem, we can install more using the command below.

sudo apt-get -y install can-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install can-utils.

sudo apt -y install can-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install can-utils

Summary

In this tutorial we learn how to fix isotpserver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.