How To Install sigrok-cli on Fedora 36

In this tutorial we learn how to install sigrok-cli in Fedora 36. sigrok-cli is Basic hardware access drivers for logic analyzers

Introduction

In this tutorial we learn how to install sigrok-cli on Fedora 36.

What is sigrok-cli

sigrok-cli is a command-line tool written in C, which uses both libsigrok and libsigrokdecode to provide the basic sigrok functionality from the command-line. Among other things, it’s useful for scripting purposes.

We can use yum or dnf to install sigrok-cli on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sigrok-cli.

Install sigrok-cli on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install sigrok-cli using dnf by running the following command:

sudo dnf -y install sigrok-cli

Install sigrok-cli on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install sigrok-cli using yum by running the following command:

sudo yum -y install sigrok-cli

How To Uninstall sigrok-cli on Fedora 36

To uninstall only the sigrok-cli package we can use the following command:

sudo dnf remove sigrok-cli

sigrok-cli Package Contents on Fedora 36

/usr/bin/sigrok-cli
/usr/lib/.build-id
/usr/lib/.build-id/86
/usr/lib/.build-id/86/f8bdbd745b34ccfdfbf375b7a6202bf74b6e10
/usr/share/applications/org.sigrok.sigrok-cli.desktop
/usr/share/doc/sigrok-cli
/usr/share/doc/sigrok-cli/NEWS
/usr/share/doc/sigrok-cli/README
/usr/share/icons/hicolor/scalable/apps/sigrok-cli.svg
/usr/share/licenses/sigrok-cli
/usr/share/licenses/sigrok-cli/COPYING
/usr/share/man/man1/sigrok-cli.1.gz

References

Summary

In this tutorial we learn how to install sigrok-cli on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).