How To Install python2-incremental on Rocky Linux 8

In this tutorial we learn how to install python2-incremental on Rocky Linux 8. python2-incremental is It versions your Python projects

Introduction

In this tutorial we learn how to install python2-incremental on Rocky Linux 8.

What is python2-incremental

Incremental is a small library that versions your Python projects.

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

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

sudo dnf -y install python2-incremental

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

sudo yum -y install python2-incremental

How To Uninstall python2-incremental on Rocky Linux 8

To uninstall only the python2-incremental package we can use the following command:

sudo dnf remove python2-incremental

python2-incremental Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/incremental
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/incremental-17.5.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/incremental/__init__.py
/usr/lib/python2.7/site-packages/incremental/__init__.pyc
/usr/lib/python2.7/site-packages/incremental/__init__.pyo
/usr/lib/python2.7/site-packages/incremental/_version.py
/usr/lib/python2.7/site-packages/incremental/_version.pyc
/usr/lib/python2.7/site-packages/incremental/_version.pyo
/usr/lib/python2.7/site-packages/incremental/tests
/usr/lib/python2.7/site-packages/incremental/tests/__init__.py
/usr/lib/python2.7/site-packages/incremental/tests/__init__.pyc
/usr/lib/python2.7/site-packages/incremental/tests/__init__.pyo
/usr/lib/python2.7/site-packages/incremental/tests/test_update.py
/usr/lib/python2.7/site-packages/incremental/tests/test_update.pyc
/usr/lib/python2.7/site-packages/incremental/tests/test_update.pyo
/usr/lib/python2.7/site-packages/incremental/tests/test_version.py
/usr/lib/python2.7/site-packages/incremental/tests/test_version.pyc
/usr/lib/python2.7/site-packages/incremental/tests/test_version.pyo
/usr/lib/python2.7/site-packages/incremental/update.py
/usr/lib/python2.7/site-packages/incremental/update.pyc
/usr/lib/python2.7/site-packages/incremental/update.pyo
/usr/share/doc/python2-incremental
/usr/share/doc/python2-incremental/README.rst
/usr/share/licenses/python2-incremental
/usr/share/licenses/python2-incremental/LICENSE

References

Summary

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