How To Install python3-certbot-apache on Rocky Linux 8

In this tutorial we learn how to install python3-certbot-apache on Rocky Linux 8. python3-certbot-apache is The apache plugin for certbot

Introduction

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

What is python3-certbot-apache

Plugin for certbot that allows for automatic configuration of apache

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

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

sudo dnf -y install python3-certbot-apache

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

sudo yum -y install python3-certbot-apache

How To Uninstall python3-certbot-apache on Rocky Linux 8

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

sudo dnf remove python3-certbot-apache

python3-certbot-apache Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/certbot_apache
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/certbot_apache-1.14.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/certbot_apache/__init__.py
/usr/lib/python3.6/site-packages/certbot_apache/__pycache__
/usr/lib/python3.6/site-packages/certbot_apache/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__init__.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/apache_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/apache_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/apacheparser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/apacheparser.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/assertions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/assertions.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/augeasparser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/augeasparser.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/configurator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/configurator.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/display_ops.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/display_ops.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/dualparser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/dualparser.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/entrypoint.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/entrypoint.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/http_01.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/http_01.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/interfaces.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/interfaces.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/obj.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/obj.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_arch.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_arch.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_centos.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_centos.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_darwin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_darwin.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_debian.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_debian.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_fedora.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_fedora.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_gentoo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_gentoo.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_suse.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/override_suse.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/parsernode_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/__pycache__/parsernode_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/certbot_apache/_internal/apache_util.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/apacheparser.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/assertions.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/augeas_lens
/usr/lib/python3.6/site-packages/certbot_apache/_internal/augeas_lens/httpd.aug
/usr/lib/python3.6/site-packages/certbot_apache/_internal/augeasparser.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/configurator.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/constants.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/display_ops.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/dualparser.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/entrypoint.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/http_01.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/interfaces.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/obj.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_arch.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_centos.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_darwin.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_debian.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_fedora.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_gentoo.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/override_suse.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/parser.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/parsernode_util.py
/usr/lib/python3.6/site-packages/certbot_apache/_internal/tls_configs
/usr/lib/python3.6/site-packages/certbot_apache/_internal/tls_configs/current-options-ssl-apache.conf
/usr/lib/python3.6/site-packages/certbot_apache/_internal/tls_configs/old-options-ssl-apache.conf
/usr/share/doc/python3-certbot-apache
/usr/share/doc/python3-certbot-apache/README.rst
/usr/share/licenses/python3-certbot-apache
/usr/share/licenses/python3-certbot-apache/LICENSE.txt

References

Summary

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