Correct git-review install in CentOS 7 quick-start
CentOS 7.x lacks python3, so just use the default python interpreter when invoking pip to install git-review from PyPI. It also lacks pip, and needs EPEL enabled to be able to install it. Change-Id: I69b857eb2781e2a8a1df9bcaea4da9ad9396d17c
This commit is contained in:
parent
f1bcb7ccb5
commit
abe88f49b7
|
@ -31,22 +31,31 @@ Before you start, ensure that some needed packages are installed.
|
|||
|
||||
.. code-block:: shell
|
||||
|
||||
# Red Hat / Fedora / CentOS:
|
||||
# Red Hat / CentOS:
|
||||
|
||||
sudo yum install epel-release
|
||||
sudo yum update
|
||||
sudo yum install docker docker-compose git python-pip
|
||||
sudo pip install git-review
|
||||
|
||||
# Fedora:
|
||||
|
||||
sudo yum install docker docker-compose git
|
||||
sudo python3 -m pip install git-review
|
||||
|
||||
# OpenSuse:
|
||||
|
||||
sudo zypper install docker docker-compose git
|
||||
sudo python3 -m pip install git-review
|
||||
|
||||
# Ubuntu / Debian:
|
||||
|
||||
sudo apt-get install docker-compose docker.io git python3-pip
|
||||
sudo python3 -m pip install git-review
|
||||
|
||||
# Start and Enable the docker service on Fedora / CentOS
|
||||
# Red Hat / OpenSuse / Ubuntu / Debian:
|
||||
|
||||
sudo python3 -m pip install git-review
|
||||
sudo systemctl enable docker.service
|
||||
sudo systemctl start docker.service
|
||||
|
||||
|
|
Loading…
Reference in New Issue