How To Install python3-gitlab on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-gitlab
on Rocky Linux 8.
What is python3-gitlab
Interact with GitLab API
We can use yum
or dnf
to install python3-gitlab
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-gitlab.
Install python3-gitlab 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-gitlab
using dnf
by running the following command:
sudo dnf -y install python3-gitlab
Install python3-gitlab 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-gitlab
using yum
by running the following command:
sudo yum -y install python3-gitlab
How To Uninstall python3-gitlab on Rocky Linux 8
To uninstall only the python3-gitlab
package we can use the following command:
sudo dnf remove python3-gitlab
python3-gitlab Package Contents on Rocky Linux 8
/usr/bin/gitlab
/usr/lib/python3.6/site-packages/gitlab
/usr/lib/python3.6/site-packages/gitlab/__init__.py
/usr/lib/python3.6/site-packages/gitlab/__main__.py
/usr/lib/python3.6/site-packages/gitlab/__pycache__
/usr/lib/python3.6/site-packages/gitlab/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/const.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/const.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/mixins.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/mixins.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/types.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/types.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/base.py
/usr/lib/python3.6/site-packages/gitlab/cli.py
/usr/lib/python3.6/site-packages/gitlab/config.py
/usr/lib/python3.6/site-packages/gitlab/const.py
/usr/lib/python3.6/site-packages/gitlab/exceptions.py
/usr/lib/python3.6/site-packages/gitlab/mixins.py
/usr/lib/python3.6/site-packages/gitlab/tests
/usr/lib/python3.6/site-packages/gitlab/tests/__init__.py
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_config.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_gitlab.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_gitlab.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_mixins.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_mixins.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_types.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_types.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/__pycache__/test_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/tests/test_base.py
/usr/lib/python3.6/site-packages/gitlab/tests/test_cli.py
/usr/lib/python3.6/site-packages/gitlab/tests/test_config.py
/usr/lib/python3.6/site-packages/gitlab/tests/test_gitlab.py
/usr/lib/python3.6/site-packages/gitlab/tests/test_mixins.py
/usr/lib/python3.6/site-packages/gitlab/tests/test_types.py
/usr/lib/python3.6/site-packages/gitlab/tests/test_utils.py
/usr/lib/python3.6/site-packages/gitlab/types.py
/usr/lib/python3.6/site-packages/gitlab/utils.py
/usr/lib/python3.6/site-packages/gitlab/v4
/usr/lib/python3.6/site-packages/gitlab/v4/__init__.py
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__/objects.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitlab/v4/__pycache__/objects.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitlab/v4/cli.py
/usr/lib/python3.6/site-packages/gitlab/v4/objects.py
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/python_gitlab-1.15.0-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-gitlab
/usr/share/doc/python3-gitlab/README.rst
/usr/share/licenses/python3-gitlab
/usr/share/licenses/python3-gitlab/COPYING
References
Summary
In this tutorial we learn how to install python3-gitlab
on Rocky Linux 8 using yum and dnf.