How To Install python3-gfal2 on Rocky Linux 8

In this tutorial we learn how to install python3-gfal2 on Rocky Linux 8. python3-gfal2 is gfal2 python bindings for Python 3

Introduction

In this tutorial we learn how to install python3-gfal2 on Rocky Linux 8.

What is python3-gfal2

Python 3 bindings for gfal2. GFAL2 offers an a single, simple and portable API for the file operations in grids and cloud environments.

We can use yum or dnf to install python3-gfal2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-gfal2.

Install python3-gfal2 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-gfal2

Install python3-gfal2 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-gfal2

How To Uninstall python3-gfal2 on Rocky Linux 8

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

sudo dnf remove python3-gfal2

python3-gfal2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/1a53ae6b19fc43f0a08046346ac5b459363047
/usr/lib64/python3.6/site-packages/gfal2.so

References

Summary

In this tutorial we learn how to install python3-gfal2 on Rocky Linux 8 using yum and dnf.