How To Install opencsd on Fedora 34

opencsd is An open source CoreSight(tm) Trace Decode library An open source CoreSight(tm) Trace Decode library

Introduction

In this tutorial we learn how to install opencsd on Fedora 34.

What is opencsd

This library provides an API suitable for the decode of ARM(r) CoreSight(tm) trace streams. opencsd 1.0.0 1.fc34 x86_64 274 k opencsd-1.0.0-1.fc34.src.rpm fedora An open source CoreSight(tm) Trace Decode library https BSD This library provides an API suitable for the decode of ARM(r) CoreSight(tm) trace streams.

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

Install opencsd on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install opencsd

Install opencsd on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install opencsd using yum by running the following command:

sudo yum -y install opencsd

How To Uninstall opencsd on Fedora 34

To uninstall only the opencsd package we can use the following command:

sudo dnf remove opencsd

opencsd Package Contents on Fedora 34

/usr/bin/trc_pkt_lister
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/ddc141864460b1428309af37116e4eaed976c0
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/f12369c9acdb5e047ff6ed19e8215c8db0ff39
/usr/lib/.build-id/db
/usr/lib/.build-id/db/fb926c063be20effd3bcf31bd982e6c5af009c
/usr/lib/libopencsd.so.1
/usr/lib/libopencsd.so.1.0.0
/usr/lib/libopencsd_c_api.so.1
/usr/lib/libopencsd_c_api.so.1.0.0
/usr/share/doc/opencsd
/usr/share/doc/opencsd/HOWTO.md
/usr/share/doc/opencsd/README.md
/usr/share/licenses/opencsd
/usr/share/licenses/opencsd/LICENSE
/usr/bin/trc_pkt_lister
/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/435515c446dffa0641aac36205c1c78f917dce
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/b9cf303b779cc0bc050b649fea3794ec06ed9a
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/4f6937b6b487ca401c0367140232a7b6f563eb
/usr/lib64/libopencsd.so.1
/usr/lib64/libopencsd.so.1.0.0
/usr/lib64/libopencsd_c_api.so.1
/usr/lib64/libopencsd_c_api.so.1.0.0
/usr/share/doc/opencsd
/usr/share/doc/opencsd/HOWTO.md
/usr/share/doc/opencsd/README.md
/usr/share/licenses/opencsd
/usr/share/licenses/opencsd/LICENSE

References

Summary

In this tutorial we learn how to install opencsd on Fedora 34 using yum and dnf.