dlt-kpi command not found

In this troubleshooting guide we learn how to fix dlt-kpi command not found error message

Introduction

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

dlt-kpi: command not found

or when using sudo you get the following error message

sudo: dlt-kpi: command not found

Solutions to dlt-kpi: command not found

How To Fix dlt-kpi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dlt-kpi is provided by dlt-tools package.

dlt-tools is:

This component provides a log and trace interface, based on the standardised protocol specified in the AUTOSAR standard 4.0 DLT. This software can be used by GENIVI components and other applications as logging facility.

This package includes tools to connect to and experiment with DLT daemon. Most usefully this includes ‘dlt-receive’ to connect to a (remote) DLT server and save all logs to a DLT file and ‘dlt-system’ that injects system logs into the DLT server

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

sudo apt-get -y install dlt-tools

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

You can also use apt command to install dlt-tools.

sudo apt -y install dlt-tools

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

sudo aptitude install dlt-tools

Summary

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