How To Install git-review on CentOS 8
Introduction
In this tutorial we learn how to install git-review
on CentOS 8.
What is git-review
An extension for source control system Git that creates and manages review requests in the patch management system Gerrit. It replaces the rfc.sh script.
We can use yum
or dnf
to install git-review
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install git-review.
Install git-review on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install git-review
using dnf
by running the following command:
sudo dnf -y install git-review
Install git-review on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install git-review
using yum
by running the following command:
sudo yum -y install git-review
How To Uninstall git-review on CentOS 8
To uninstall only the git-review
package we can use the following command:
sudo dnf remove git-review
git-review Package Contents on CentOS 8
/usr/bin/git-review
/usr/lib/python3.6/site-packages/git_review
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/pbr.json
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/git_review-1.28.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/git_review/__init__.py
/usr/lib/python3.6/site-packages/git_review/__pycache__
/usr/lib/python3.6/site-packages/git_review/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/__pycache__/cmd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/__pycache__/cmd.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/cmd.py
/usr/lib/python3.6/site-packages/git_review/tests
/usr/lib/python3.6/site-packages/git_review/tests/__init__.py
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/check_test_id_hashes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/check_test_id_hashes.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/prepare.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/prepare.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/test_git_review.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/test_git_review.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/test_unit.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/test_unit.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/git_review/tests/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/git_review/tests/check_test_id_hashes.py
/usr/lib/python3.6/site-packages/git_review/tests/prepare.py
/usr/lib/python3.6/site-packages/git_review/tests/test_git_review.py
/usr/lib/python3.6/site-packages/git_review/tests/test_unit.py
/usr/lib/python3.6/site-packages/git_review/tests/utils.py
/usr/share/doc/git-review
/usr/share/doc/git-review/AUTHORS
/usr/share/doc/git-review/README.rst
/usr/share/licenses/git-review
/usr/share/licenses/git-review/LICENSE
/usr/share/man/man1/git-review.1.gz
References
Summary
In this tutorial we learn how to install git-review
on CentOS 8 using yum and dnf.