How To Install python3-pygit2 on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pygit2
on Rocky Linux 8.
What is python3-pygit2
pygit2 is a set of Python bindings to the libgit2 library, which implements the core of Git. Python 3 version.
We can use yum
or dnf
to install python3-pygit2
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pygit2.
Install python3-pygit2 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-pygit2
using dnf
by running the following command:
sudo dnf -y install python3-pygit2
Install python3-pygit2 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-pygit2
using yum
by running the following command:
sudo yum -y install python3-pygit2
How To Uninstall python3-pygit2 on Rocky Linux 8
To uninstall only the python3-pygit2
package we can use the following command:
sudo dnf remove python3-pygit2
python3-pygit2 Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/90994ea84b343427380364eb1b0a64bc01bea9
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/8bf827552ea86de688f1bf206a393cfb7fae8f
/usr/lib64/python3.6/site-packages/_pygit2.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pygit2
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info/not-zip-safe
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/pygit2-0.26.4-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/pygit2/__init__.py
/usr/lib64/python3.6/site-packages/pygit2/__pycache__
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/_build.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/_build.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/_run.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/_run.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/blame.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/blame.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/config.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/credentials.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/credentials.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/errors.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/ffi.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/ffi.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/index.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/index.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/py2.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/py2.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/py3.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/py3.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/refspec.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/refspec.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/remote.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/remote.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/repository.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/repository.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/settings.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/settings.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/submodule.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/submodule.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygit2/__pycache__/utils.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygit2/_build.py
/usr/lib64/python3.6/site-packages/pygit2/_libgit2.abi3.so
/usr/lib64/python3.6/site-packages/pygit2/_run.py
/usr/lib64/python3.6/site-packages/pygit2/blame.py
/usr/lib64/python3.6/site-packages/pygit2/config.py
/usr/lib64/python3.6/site-packages/pygit2/credentials.py
/usr/lib64/python3.6/site-packages/pygit2/decl.h
/usr/lib64/python3.6/site-packages/pygit2/errors.py
/usr/lib64/python3.6/site-packages/pygit2/ffi.py
/usr/lib64/python3.6/site-packages/pygit2/index.py
/usr/lib64/python3.6/site-packages/pygit2/py2.py
/usr/lib64/python3.6/site-packages/pygit2/py3.py
/usr/lib64/python3.6/site-packages/pygit2/refspec.py
/usr/lib64/python3.6/site-packages/pygit2/remote.py
/usr/lib64/python3.6/site-packages/pygit2/repository.py
/usr/lib64/python3.6/site-packages/pygit2/settings.py
/usr/lib64/python3.6/site-packages/pygit2/submodule.py
/usr/lib64/python3.6/site-packages/pygit2/utils.py
/usr/share/doc/python3-pygit2
/usr/share/doc/python3-pygit2/README.rst
/usr/share/doc/python3-pygit2/TODO.txt
/usr/share/licenses/python3-pygit2
/usr/share/licenses/python3-pygit2/COPYING
References
Summary
In this tutorial we learn how to install python3-pygit2
on Rocky Linux 8 using yum and dnf.