How To Install pyflowtools on Fedora 34

pyflowtools is An interface to OSU FlowTools

Introduction

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

What is pyflowtools

Python bindings to OSU Flow-Tools library This is an interface which allows one to read flows stored by OSU FlowTools into python program for further analysis.

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

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

sudo dnf -y install pyflowtools

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

sudo yum -y install pyflowtools

How To Uninstall pyflowtools on Fedora 34

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

sudo dnf remove pyflowtools

pyflowtools Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/01f5ce5edcfdfa77fd0c3a0fe1a49a74d53626
/usr/lib64/python3.9/site-packages/flowtools.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/pyflowtools-0.3.4.2-py3.9.egg-info
/usr/share/doc/pyflowtools
/usr/share/doc/pyflowtools/CHANGES
/usr/share/doc/pyflowtools/COPYING
/usr/share/doc/pyflowtools/README
/usr/share/doc/pyflowtools/example.py
/usr/share/doc/pyflowtools/flowprint-full

References

Summary

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