How To Install python3-click on Rocky Linux 8

In this tutorial we learn how to install python3-click on Rocky Linux 8. python3-click is Simple wrapper around optparse for powerful command line utilities

Introduction

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

What is python3-click

click is a Python package for creating beautiful command line interfaces in a composable way with as little amount of code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with good defaults out of the box. Python 3 version.

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

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

sudo dnf -y install python3-click

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

sudo yum -y install python3-click

How To Uninstall python3-click on Rocky Linux 8

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

sudo dnf remove python3-click

python3-click Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/click
/usr/lib/python3.6/site-packages/click-6.7-py3.6.egg-info
/usr/lib/python3.6/site-packages/click-6.7-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/click-6.7-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/click-6.7-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/click-6.7-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/click/__init__.py
/usr/lib/python3.6/site-packages/click/__pycache__
/usr/lib/python3.6/site-packages/click/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_bashcomplete.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_bashcomplete.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_termui_impl.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_termui_impl.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_textwrap.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_textwrap.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_unicodefun.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_unicodefun.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_winconsole.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/_winconsole.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/decorators.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/decorators.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/formatting.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/formatting.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/globals.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/globals.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/termui.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/termui.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/testing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/testing.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/types.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/types.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/click/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/click/_bashcomplete.py
/usr/lib/python3.6/site-packages/click/_compat.py
/usr/lib/python3.6/site-packages/click/_termui_impl.py
/usr/lib/python3.6/site-packages/click/_textwrap.py
/usr/lib/python3.6/site-packages/click/_unicodefun.py
/usr/lib/python3.6/site-packages/click/_winconsole.py
/usr/lib/python3.6/site-packages/click/core.py
/usr/lib/python3.6/site-packages/click/decorators.py
/usr/lib/python3.6/site-packages/click/exceptions.py
/usr/lib/python3.6/site-packages/click/formatting.py
/usr/lib/python3.6/site-packages/click/globals.py
/usr/lib/python3.6/site-packages/click/parser.py
/usr/lib/python3.6/site-packages/click/termui.py
/usr/lib/python3.6/site-packages/click/testing.py
/usr/lib/python3.6/site-packages/click/types.py
/usr/lib/python3.6/site-packages/click/utils.py
/usr/share/doc/python3-click
/usr/share/doc/python3-click/CHANGES
/usr/share/doc/python3-click/README
/usr/share/licenses/python3-click
/usr/share/licenses/python3-click/LICENSE

References

Summary

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