How To Install python3-yappi on Fedora 36

In this tutorial we learn how to install python3-yappi in Fedora 36. python3-yappi is Yet Another Python Profiler, supports Multithread/CPU time profiling.

Introduction

In this tutorial we learn how to install python3-yappi on Fedora 36.

What is python3-yappi

Yappi, Yet Another Python Profiler, provides multithreading and cpu-time support to profile python programs.

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

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

sudo dnf -y install python3-yappi

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

sudo yum -y install python3-yappi

How To Uninstall python3-yappi on Fedora 36

To uninstall only the python3-yappi package we can use the following command:

sudo dnf remove python3-yappi

python3-yappi Package Contents on Fedora 36

/usr/bin/yappi
/usr/bin/yappi-3
/usr/bin/yappi-3.10
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/86b52fed01b3ea3cbac5d2d4152bc59777f1ef
/usr/lib64/python3.10/site-packages/__pycache__/yappi.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/yappi.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_yappi.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info/entry_points.txt
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/yappi-1.3.2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/yappi.py
/usr/share/doc/python3-yappi
/usr/share/doc/python3-yappi/README.md
/usr/share/licenses/python3-yappi
/usr/share/licenses/python3-yappi/LICENSE

References

Summary

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