Skip to content

Commit 1c3d7d0

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "doc: Use dnf instead of yum"
2 parents 4279454 + e28a173 commit 1c3d7d0

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

doc/source/contributor/quickstart.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,8 @@ Install OS-specific prerequisites::
2323
libmysqlclient-dev libxslt-dev libpq-dev git \
2424
libffi-dev gettext build-essential python3-dev
2525

26-
# CentOS 7:
27-
sudo yum install -y python-devel openssl-devel mariadb-devel curl \
28-
libxml2-devel libxslt-devel postgresql-devel git \
29-
libffi-devel gettext gcc
30-
31-
# Fedora/RHEL:
32-
sudo yum install python-devel openssl-devel mysql-devel curl \
26+
# Fedora/RHEL/CentOS:
27+
sudo dnf install python3-devel openssl-devel mysql-devel curl \
3328
libxml2-devel libxslt-devel postgresql-devel git \
3429
libffi-devel gettext gcc
3530

doc/source/install/install-guide-from-source.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Install and configure components
2727

2828
.. code-block:: console
2929
30-
# yum install python-devel openssl-devel mariadb-devel \
30+
# dnf install python-devel openssl-devel mariadb-devel \
3131
libxml2-devel libxslt-devel postgresql-devel git \
3232
libffi-devel gettext gcc
3333
3434
* Fedora 21 / RHEL 7
3535

3636
.. code-block:: console
3737
38-
# yum install python-devel openssl-devel mysql-devel \
38+
# dnf install python-devel openssl-devel mysql-devel \
3939
libxml2-devel libxslt-devel postgresql-devel git \
4040
libffi-devel gettext gcc
4141
@@ -224,7 +224,7 @@ Install the command-line client
224224

225225
.. code-block:: console
226226
227-
# yum install python-devel openssl-devel python-virtualenv \
227+
# dnf install python-devel openssl-devel python-virtualenv \
228228
libffi-devel git gcc
229229
230230
* Fedora 22 or higher

doc/source/install/install-rdo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Install and configure components
1515

1616
.. code-block:: console
1717
18-
# yum install openstack-magnum-api openstack-magnum-conductor python-magnumclient
18+
# dnf install openstack-magnum-api openstack-magnum-conductor python-magnumclient
1919
2020
.. include:: common/configure_2_edit_magnum_conf.rst
2121

doc/source/user/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,11 @@ repositories for your distribution:
751751

752752
Install using distribution packages for RHEL/CentOS/Fedora::
753753

754-
$ sudo yum install python-magnumclient
754+
$ sudo dnf install python3-magnumclient
755755

756756
Install using distribution packages for Ubuntu/Debian::
757757

758-
$ sudo apt-get install python-magnumclient
758+
$ sudo apt-get install python3-magnumclient
759759

760760
Install using distribution packages for openSUSE and SUSE Enterprise Linux::
761761

0 commit comments

Comments
 (0)