How To Install python3-elasticsearch6 on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-elasticsearch6
on Rocky Linux 8.
What is python3-elasticsearch6
Low level client for Elasticsearch. It’s goal is to provide common ground for all Elasticsearch-related code in Python. The client’s features include - Translating basic Python data types to and from JSON - Configurable automatic discovery of cluster nodes - Persistent connections - Load balancing (with pluggable selection strategy) across all available nodes - Failed connection penalization (time based - failed connections won’t be retried until a timeout is reached) - Thread safety - Pluggable architecture
We can use yum
or dnf
to install python3-elasticsearch6
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-elasticsearch6.
Install python3-elasticsearch6 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-elasticsearch6
using dnf
by running the following command:
sudo dnf -y install python3-elasticsearch6
Install python3-elasticsearch6 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-elasticsearch6
using yum
by running the following command:
sudo yum -y install python3-elasticsearch6
How To Uninstall python3-elasticsearch6 on Rocky Linux 8
To uninstall only the python3-elasticsearch6
package we can use the following command:
sudo dnf remove python3-elasticsearch6
python3-elasticsearch6 Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/elasticsearch6
/usr/lib/python3.6/site-packages/elasticsearch6-6.4.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/elasticsearch6-6.4.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/elasticsearch6-6.4.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/elasticsearch6-6.4.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/elasticsearch6-6.4.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/elasticsearch6-6.4.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/elasticsearch6/__init__.py
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/connection_pool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/connection_pool.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/serializer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/serializer.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/transport.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/__pycache__/transport.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client
/usr/lib/python3.6/site-packages/elasticsearch6/client/__init__.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/cat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/cat.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/cluster.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/cluster.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/indices.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/indices.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/ingest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/ingest.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/nodes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/nodes.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/remote.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/remote.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/snapshot.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/snapshot.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/tasks.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/tasks.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/cat.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/cluster.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/indices.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/ingest.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/nodes.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/remote.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/snapshot.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/tasks.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/utils.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__init__.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/deprecation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/deprecation.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/graph.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/graph.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/license.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/license.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/migration.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/migration.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/ml.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/ml.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/monitoring.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/monitoring.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/security.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/security.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/watcher.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/__pycache__/watcher.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/deprecation.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/graph.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/license.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/migration.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/ml.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/monitoring.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/security.py
/usr/lib/python3.6/site-packages/elasticsearch6/client/xpack/watcher.py
/usr/lib/python3.6/site-packages/elasticsearch6/compat.py
/usr/lib/python3.6/site-packages/elasticsearch6/connection
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__init__.py
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/http_requests.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/http_requests.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/http_urllib3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/http_urllib3.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/pooling.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/__pycache__/pooling.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/connection/base.py
/usr/lib/python3.6/site-packages/elasticsearch6/connection/http_requests.py
/usr/lib/python3.6/site-packages/elasticsearch6/connection/http_urllib3.py
/usr/lib/python3.6/site-packages/elasticsearch6/connection/pooling.py
/usr/lib/python3.6/site-packages/elasticsearch6/connection_pool.py
/usr/lib/python3.6/site-packages/elasticsearch6/exceptions.py
/usr/lib/python3.6/site-packages/elasticsearch6/helpers
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__init__.py
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/actions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/actions.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/test.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/__pycache__/test.cpython-36.pyc
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/actions.py
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/errors.py
/usr/lib/python3.6/site-packages/elasticsearch6/helpers/test.py
/usr/lib/python3.6/site-packages/elasticsearch6/serializer.py
/usr/lib/python3.6/site-packages/elasticsearch6/transport.py
/usr/share/doc/python3-elasticsearch6
/usr/share/doc/python3-elasticsearch6/README
/usr/share/licenses/python3-elasticsearch6
/usr/share/licenses/python3-elasticsearch6/LICENSE
References
Summary
In this tutorial we learn how to install python3-elasticsearch6
on Rocky Linux 8 using yum and dnf.