How To Install python3-pycares on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pycares
on Rocky Linux 8.
What is python3-pycares
pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously.
We can use yum
or dnf
to install python3-pycares
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pycares.
Install python3-pycares 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-pycares
using dnf
by running the following command:
sudo dnf -y install python3-pycares
Install python3-pycares 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-pycares
using yum
by running the following command:
sudo yum -y install python3-pycares
How To Uninstall python3-pycares on Rocky Linux 8
To uninstall only the python3-pycares
package we can use the following command:
sudo dnf remove python3-pycares
python3-pycares Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/45291496128134a82eb59ffcef0604642e7fc0
/usr/lib64/python3.6/site-packages/pycares
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info/not-zip-safe
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/pycares-3.1.1-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/pycares/__init__.py
/usr/lib64/python3.6/site-packages/pycares/__main__.py
/usr/lib64/python3.6/site-packages/pycares/__pycache__
/usr/lib64/python3.6/site-packages/pycares/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/__main__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/_version.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/_version.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/errno.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/errno.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pycares/__pycache__/utils.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pycares/_cares.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pycares/_version.py
/usr/lib64/python3.6/site-packages/pycares/errno.py
/usr/lib64/python3.6/site-packages/pycares/utils.py
/usr/share/doc/python3-pycares
/usr/share/doc/python3-pycares/ChangeLog
/usr/share/doc/python3-pycares/README.rst
/usr/share/licenses/python3-pycares
/usr/share/licenses/python3-pycares/LICENSE
References
Summary
In this tutorial we learn how to install python3-pycares
on Rocky Linux 8 using yum and dnf.