How To Install python3-sword on Rocky Linux 8

In this tutorial we learn how to install python3-sword on Rocky Linux 8. python3-sword is Python bindings for Sword

Introduction

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

What is python3-sword

Python bindings for The SWORD Library.

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

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

sudo dnf -y install python3-sword

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

sudo yum -y install python3-sword

How To Uninstall python3-sword on Rocky Linux 8

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

sudo dnf remove python3-sword

python3-sword Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/21/3ab7a8cbc14346346798a800a211bfbd5db086
/usr/lib64/python3.6/site-packages/Sword.py
/usr/lib64/python3.6/site-packages/_Sword.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/__pycache__/Sword.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/Sword.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sword-1.8.1-py3.6.egg-info

References

Summary

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