How To Install python3-libkml on Rocky Linux 8

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

Introduction

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

What is python3-libkml

The python3-libkml package contains Python 3 bindings for libkml.

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

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

sudo dnf -y install python3-libkml

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

sudo yum -y install python3-libkml

How To Uninstall python3-libkml on Rocky Linux 8

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

sudo dnf remove python3-libkml

python3-libkml Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/58574306869e3496d52614c51e1974686c4d5b
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/da4a8de5af019f3e6d10267e35cb35702e05aa
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/65ba243ab48724d0a1a162d60090c3dec97a8d
/usr/lib64/python3.6/site-packages/__pycache__/kmlbase.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/kmlbase.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/kmldom.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/kmldom.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/kmlengine.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/kmlengine.cpython-36.pyc
/usr/lib64/python3.6/site-packages/_kmlbase.so
/usr/lib64/python3.6/site-packages/_kmldom.so
/usr/lib64/python3.6/site-packages/_kmlengine.so
/usr/lib64/python3.6/site-packages/kmlbase.py
/usr/lib64/python3.6/site-packages/kmldom.py
/usr/lib64/python3.6/site-packages/kmlengine.py

References

Summary

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