How To Install libkdumpfile-python on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install libkdumpfile-python on Rocky Linux 8.

What is libkdumpfile-python

The libkdumpfile-python package contains Python bindings for libkdumpfile.

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

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

sudo dnf -y install libkdumpfile-python

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

sudo yum -y install libkdumpfile-python

How To Uninstall libkdumpfile-python on Rocky Linux 8

To uninstall only the libkdumpfile-python package we can use the following command:

sudo dnf remove libkdumpfile-python

libkdumpfile-python Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/f228ec6010bd756433cb46245ab35161e7afb0
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/5a832cf2471f2a2b4e1569e0338b71813aa530
/usr/lib/python3.6/site-packages/addrxlat
/usr/lib/python3.6/site-packages/addrxlat/__init__.py
/usr/lib/python3.6/site-packages/addrxlat/__pycache__
/usr/lib/python3.6/site-packages/addrxlat/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/addrxlat/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/addrxlat/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/addrxlat/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/addrxlat/exceptions.py
/usr/lib/python3.6/site-packages/kdumpfile
/usr/lib/python3.6/site-packages/kdumpfile/__init__.py
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__/views.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/kdumpfile/__pycache__/views.cpython-36.pyc
/usr/lib/python3.6/site-packages/kdumpfile/exceptions.py
/usr/lib/python3.6/site-packages/kdumpfile/views.py
/usr/lib64/python3.6/site-packages/_addrxlat.so
/usr/lib64/python3.6/site-packages/_kdumpfile.so

References

Summary

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