How To Install sysprof on Fedora 34

sysprof is A system-wide Linux profiler

Introduction

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

What is sysprof

Sysprof is a sampling CPU profiler for Linux that collects accurate, high-precision data and provides efficient access to the sampled calltrees.

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

Install sysprof 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 sysprof using dnf by running the following command:

sudo dnf -y install sysprof

Install sysprof 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 sysprof using yum by running the following command:

sudo yum -y install sysprof

How To Uninstall sysprof on Fedora 34

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

sudo dnf remove sysprof

sysprof Package Contents on Fedora 34

/usr/bin/sysprof
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/2c60a878f17234b9e1abee1c2b0d9915ccaa39
/usr/share/applications/org.gnome.Sysprof3.desktop
/usr/share/doc/sysprof
/usr/share/doc/sysprof/AUTHORS
/usr/share/doc/sysprof/NEWS
/usr/share/doc/sysprof/README.md
/usr/share/glib-2.0/schemas/org.gnome.sysprof3.gschema.xml
/usr/share/icons/hicolor/scalable/actions/sysprof-allocations.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-battery.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-calgraph.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-cli.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-cpu.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-disk.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-gtk.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-library.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-memory.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-networking.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-rapl.svg
/usr/share/icons/hicolor/scalable/actions/sysprof-trace-app.svg
/usr/share/icons/hicolor/scalable/apps/org.gnome.Sysprof.svg
/usr/share/icons/hicolor/symbolic/apps/org.gnome.Sysprof-symbolic.svg
/usr/share/licenses/sysprof
/usr/share/licenses/sysprof/COPYING
/usr/share/metainfo/org.gnome.Sysprof3.appdata.xml
/usr/share/mime/packages/sysprof-mime.xml

References

Summary

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