How To Install python3-d2to1 on Rocky Linux 8

In this tutorial we learn how to install python3-d2to1 on Rocky Linux 8. python3-d2to1 is Allows using distutils2-like setup.cfg files with setup.py

Introduction

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

What is python3-d2to1

d2to1 allows using distutils2-like setup.cfg files for a package’s metadata with a distribute/setuptools setup.py script. It works by providing a distutils2-formatted setup.cfg file containing all of a package’s metadata, and a very minimal setup.py which will slurp its arguments from the setup.cfg.

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

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

sudo dnf -y install python3-d2to1

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

sudo yum -y install python3-d2to1

How To Uninstall python3-d2to1 on Rocky Linux 8

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

sudo dnf remove python3-d2to1

python3-d2to1 Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/d2to1
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/d2to1-0.2.12.post1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/d2to1/__init__.py
/usr/lib/python3.6/site-packages/d2to1/__pycache__
/usr/lib/python3.6/site-packages/d2to1/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/zestreleaser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/d2to1/__pycache__/zestreleaser.cpython-36.pyc
/usr/lib/python3.6/site-packages/d2to1/core.py
/usr/lib/python3.6/site-packages/d2to1/extern
/usr/lib/python3.6/site-packages/d2to1/extern/__init__.py
/usr/lib/python3.6/site-packages/d2to1/extern/__pycache__
/usr/lib/python3.6/site-packages/d2to1/extern/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/d2to1/extern/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/d2to1/extern/__pycache__/six.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/d2to1/extern/__pycache__/six.cpython-36.pyc
/usr/lib/python3.6/site-packages/d2to1/extern/six.py
/usr/lib/python3.6/site-packages/d2to1/util.py
/usr/lib/python3.6/site-packages/d2to1/zestreleaser.py
/usr/share/doc/python3-d2to1
/usr/share/doc/python3-d2to1/CHANGES.rst
/usr/share/doc/python3-d2to1/README.rst
/usr/share/licenses/python3-d2to1
/usr/share/licenses/python3-d2to1/LICENSE

References

Summary

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