How To Install python3-timeunit on Fedora 36

In this tutorial we learn how to install python3-timeunit in Fedora 36. python3-timeunit is Python module providing utility methods to convert across time units

Introduction

In this tutorial we learn how to install python3-timeunit on Fedora 36.

What is python3-timeunit

Based on java.util.concurrent.TimeUnit and timeunit in npm TimeUnit is a port of the public domain TimeUnit Java class by Doug Lea This class is the basis for java.util.concurrent.TimeUnit from JavaSE. A timeunit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform delay operations in these units. A timeunit does not maintain time information, but only helps organize and use time representations that may be maintained separately across various contexts. A timeunit is mainly used to inform time-based methods how a given timing parameter should be interpreted.

We can use yum or dnf to install python3-timeunit on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-timeunit.

Install python3-timeunit on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-timeunit

Install python3-timeunit on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-timeunit

How To Uninstall python3-timeunit on Fedora 36

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

sudo dnf remove python3-timeunit

python3-timeunit Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/timeunit
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/timeunit-1.1.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/timeunit/__init__.py
/usr/lib/python3.10/site-packages/timeunit/__pycache__
/usr/lib/python3.10/site-packages/timeunit/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/timeunit/__pycache__/__init__.cpython-310.pyc
/usr/share/doc/python3-timeunit
/usr/share/doc/python3-timeunit/README.md
/usr/share/licenses/python3-timeunit
/usr/share/licenses/python3-timeunit/LICENSE.md

References

Summary

In this tutorial we learn how to install python3-timeunit on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).