How To Install python2-pika on Rocky Linux 8
Introduction
In this tutorial we learn how to install python2-pika
on Rocky Linux 8.
What is python2-pika
Pika is a pure-Python implementation of the AMQP 0-9-1 protocol that tries to stay fairly independent of the underlying network support library. This package provides the Python 2 implementation.
We can use yum
or dnf
to install python2-pika
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python2-pika.
Install python2-pika 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-pika
using dnf
by running the following command:
sudo dnf -y install python2-pika
Install python2-pika 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-pika
using yum
by running the following command:
sudo yum -y install python2-pika
How To Uninstall python2-pika on Rocky Linux 8
To uninstall only the python2-pika
package we can use the following command:
sudo dnf remove python2-pika
python2-pika Package Contents on Rocky Linux 8
/usr/lib/python2.7/site-packages/pika
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/pika-1.0.1-py2.7.egg-info/zip-safe
/usr/lib/python2.7/site-packages/pika/__init__.py
/usr/lib/python2.7/site-packages/pika/__init__.pyc
/usr/lib/python2.7/site-packages/pika/__init__.pyo
/usr/lib/python2.7/site-packages/pika/adapters
/usr/lib/python2.7/site-packages/pika/adapters/__init__.py
/usr/lib/python2.7/site-packages/pika/adapters/__init__.pyc
/usr/lib/python2.7/site-packages/pika/adapters/__init__.pyo
/usr/lib/python2.7/site-packages/pika/adapters/asyncio_connection.py
/usr/lib/python2.7/site-packages/pika/adapters/asyncio_connection.pyc
/usr/lib/python2.7/site-packages/pika/adapters/asyncio_connection.pyo
/usr/lib/python2.7/site-packages/pika/adapters/base_connection.py
/usr/lib/python2.7/site-packages/pika/adapters/base_connection.pyc
/usr/lib/python2.7/site-packages/pika/adapters/base_connection.pyo
/usr/lib/python2.7/site-packages/pika/adapters/blocking_connection.py
/usr/lib/python2.7/site-packages/pika/adapters/blocking_connection.pyc
/usr/lib/python2.7/site-packages/pika/adapters/blocking_connection.pyo
/usr/lib/python2.7/site-packages/pika/adapters/select_connection.py
/usr/lib/python2.7/site-packages/pika/adapters/select_connection.pyc
/usr/lib/python2.7/site-packages/pika/adapters/select_connection.pyo
/usr/lib/python2.7/site-packages/pika/adapters/tornado_connection.py
/usr/lib/python2.7/site-packages/pika/adapters/tornado_connection.pyc
/usr/lib/python2.7/site-packages/pika/adapters/tornado_connection.pyo
/usr/lib/python2.7/site-packages/pika/adapters/twisted_connection.py
/usr/lib/python2.7/site-packages/pika/adapters/twisted_connection.pyc
/usr/lib/python2.7/site-packages/pika/adapters/twisted_connection.pyo
/usr/lib/python2.7/site-packages/pika/adapters/utils
/usr/lib/python2.7/site-packages/pika/adapters/utils/__init__.py
/usr/lib/python2.7/site-packages/pika/adapters/utils/__init__.pyc
/usr/lib/python2.7/site-packages/pika/adapters/utils/__init__.pyo
/usr/lib/python2.7/site-packages/pika/adapters/utils/connection_workflow.py
/usr/lib/python2.7/site-packages/pika/adapters/utils/connection_workflow.pyc
/usr/lib/python2.7/site-packages/pika/adapters/utils/connection_workflow.pyo
/usr/lib/python2.7/site-packages/pika/adapters/utils/io_services_utils.py
/usr/lib/python2.7/site-packages/pika/adapters/utils/io_services_utils.pyc
/usr/lib/python2.7/site-packages/pika/adapters/utils/io_services_utils.pyo
/usr/lib/python2.7/site-packages/pika/adapters/utils/nbio_interface.py
/usr/lib/python2.7/site-packages/pika/adapters/utils/nbio_interface.pyc
/usr/lib/python2.7/site-packages/pika/adapters/utils/nbio_interface.pyo
/usr/lib/python2.7/site-packages/pika/adapters/utils/selector_ioloop_adapter.py
/usr/lib/python2.7/site-packages/pika/adapters/utils/selector_ioloop_adapter.pyc
/usr/lib/python2.7/site-packages/pika/adapters/utils/selector_ioloop_adapter.pyo
/usr/lib/python2.7/site-packages/pika/amqp_object.py
/usr/lib/python2.7/site-packages/pika/amqp_object.pyc
/usr/lib/python2.7/site-packages/pika/amqp_object.pyo
/usr/lib/python2.7/site-packages/pika/callback.py
/usr/lib/python2.7/site-packages/pika/callback.pyc
/usr/lib/python2.7/site-packages/pika/callback.pyo
/usr/lib/python2.7/site-packages/pika/channel.py
/usr/lib/python2.7/site-packages/pika/channel.pyc
/usr/lib/python2.7/site-packages/pika/channel.pyo
/usr/lib/python2.7/site-packages/pika/compat.py
/usr/lib/python2.7/site-packages/pika/compat.pyc
/usr/lib/python2.7/site-packages/pika/compat.pyo
/usr/lib/python2.7/site-packages/pika/connection.py
/usr/lib/python2.7/site-packages/pika/connection.pyc
/usr/lib/python2.7/site-packages/pika/connection.pyo
/usr/lib/python2.7/site-packages/pika/credentials.py
/usr/lib/python2.7/site-packages/pika/credentials.pyc
/usr/lib/python2.7/site-packages/pika/credentials.pyo
/usr/lib/python2.7/site-packages/pika/data.py
/usr/lib/python2.7/site-packages/pika/data.pyc
/usr/lib/python2.7/site-packages/pika/data.pyo
/usr/lib/python2.7/site-packages/pika/diagnostic_utils.py
/usr/lib/python2.7/site-packages/pika/diagnostic_utils.pyc
/usr/lib/python2.7/site-packages/pika/diagnostic_utils.pyo
/usr/lib/python2.7/site-packages/pika/exceptions.py
/usr/lib/python2.7/site-packages/pika/exceptions.pyc
/usr/lib/python2.7/site-packages/pika/exceptions.pyo
/usr/lib/python2.7/site-packages/pika/frame.py
/usr/lib/python2.7/site-packages/pika/frame.pyc
/usr/lib/python2.7/site-packages/pika/frame.pyo
/usr/lib/python2.7/site-packages/pika/heartbeat.py
/usr/lib/python2.7/site-packages/pika/heartbeat.pyc
/usr/lib/python2.7/site-packages/pika/heartbeat.pyo
/usr/lib/python2.7/site-packages/pika/spec.py
/usr/lib/python2.7/site-packages/pika/spec.pyc
/usr/lib/python2.7/site-packages/pika/spec.pyo
/usr/lib/python2.7/site-packages/pika/tcp_socket_opts.py
/usr/lib/python2.7/site-packages/pika/tcp_socket_opts.pyc
/usr/lib/python2.7/site-packages/pika/tcp_socket_opts.pyo
/usr/lib/python2.7/site-packages/pika/validators.py
/usr/lib/python2.7/site-packages/pika/validators.pyc
/usr/lib/python2.7/site-packages/pika/validators.pyo
/usr/share/doc/python2-pika
/usr/share/doc/python2-pika/CHANGELOG.rst
/usr/share/doc/python2-pika/README.rst
/usr/share/licenses/python2-pika
/usr/share/licenses/python2-pika/LICENSE
References
Summary
In this tutorial we learn how to install python2-pika
on Rocky Linux 8 using yum and dnf.