sigrok-cli command not found

In this troubleshooting guide we learn how to fix sigrok-cli command not found error message

Introduction

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

sigrok-cli: command not found

or when using sudo you get the following error message

sudo: sigrok-cli: command not found

Solutions to sigrok-cli: command not found

How To Fix sigrok-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sigrok-cli is provided by sigrok-cli package.

sigrok-cli is:

sigrok-cli is a command-line data acquisition and protocol decoding software.

It supports sample acquisition from logic analyzer, oscilloscope, multimeter, and other hardware, as well as running protocol decoders over the sample data (either from hardware or loaded from files).

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

sudo apt-get -y install sigrok-cli

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

You can also use apt command to install sigrok-cli.

sudo apt -y install sigrok-cli

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

sudo aptitude install sigrok-cli

Summary

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