trc_pkt_lister command not found

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

Introduction

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

trc_pkt_lister: command not found

or when using sudo you get the following error message

sudo: trc_pkt_lister: command not found

Solutions to trc_pkt_lister: command not found

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

In Ubuntu trc_pkt_lister is provided by libopencsd-bin package.

libopencsd-bin is:

Tool to decode ARM Coresight trace stream packets.

The CoreSight library provides an API suitable for the decode of ARM(r) CoreSight(tm) trace streams. It supports ETMv3 data & instruction trace, ETMv4 instruction trace, PTM (v1.1) instruction trace, STM (v1.1) software trace, and support for external/custom decoders.

This is the tools package containing useful binaries.

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

sudo apt-get -y install libopencsd-bin

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

You can also use apt command to install libopencsd-bin.

sudo apt -y install libopencsd-bin

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

sudo aptitude install libopencsd-bin

Summary

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