How To Install python3-cftime on Rocky Linux 8

In this tutorial we learn how to install python3-cftime on Rocky Linux 8. python3-cftime is Time-handling functionality from netcdf4-python

Introduction

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

What is python3-cftime

Time-handling functionality from netcdf4-python.

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

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

sudo dnf -y install python3-cftime

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

sudo yum -y install python3-cftime

How To Uninstall python3-cftime on Rocky Linux 8

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

sudo dnf remove python3-cftime

python3-cftime Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/a16262b727d5d360a3b7cdaead8930511d2bd3
/usr/lib64/python3.6/site-packages/cftime
/usr/lib64/python3.6/site-packages/cftime-1.0.3.4-py3.6.egg-info
/usr/lib64/python3.6/site-packages/cftime-1.0.3.4-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/cftime-1.0.3.4-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/cftime-1.0.3.4-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/cftime-1.0.3.4-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/cftime-1.0.3.4-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/cftime/__init__.py
/usr/lib64/python3.6/site-packages/cftime/__pycache__
/usr/lib64/python3.6/site-packages/cftime/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/cftime/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/cftime/_cftime.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/python3-cftime
/usr/share/doc/python3-cftime/README.md
/usr/share/licenses/python3-cftime
/usr/share/licenses/python3-cftime/COPYING

References

Summary

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