From a254106bb62673d55b68a85e3ddf7ea9489f4809 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 7 Jan 2025 10:42:50 +0900 Subject: [PATCH] doc: Use dnf instead of yum The yum command has been replaced by the dnf command in recent releases of Fedora-based distributions. Use the native command instead of the alias kept for compatibility. Also replace python-* packages by python3-* packages. Change-Id: I1ebfd502b9f02f79c8a851ac1d6e3ac9d4ac03a0 --- doc/source/contributor/development.environment.rst | 2 +- doc/source/install/install-rdo.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/contributor/development.environment.rst b/doc/source/contributor/development.environment.rst index 4c44bed58..fb6c4ef3c 100644 --- a/doc/source/contributor/development.environment.rst +++ b/doc/source/contributor/development.environment.rst @@ -63,7 +63,7 @@ On Fedora-based distributions (e.g., Fedora/RHEL/CentOS): .. code-block:: console - $ sudo yum install gcc python-pip libxml2-devel libxslt-devel python-devel + $ sudo dnf install gcc python-pip libxml2-devel libxslt-devel python3-devel Install MongoDB ############### diff --git a/doc/source/install/install-rdo.rst b/doc/source/install/install-rdo.rst index 27a9ebbdf..3cdb6c8ef 100644 --- a/doc/source/install/install-rdo.rst +++ b/doc/source/install/install-rdo.rst @@ -244,7 +244,7 @@ Install and configure ``memcached``, ``uWSGI`` and Messaging on the web server .. code-block:: console - # yum install memcached + # dnf install memcached Start ``memcached`` service: @@ -262,7 +262,7 @@ Install and configure ``memcached``, ``uWSGI`` and Messaging on the web server .. code-block:: console - # yum install python-pip + # dnf install python3-pip # git clone https://git.openstack.org/openstack/zaqar.git # cd zaqar # pip install . -r ./requirements.txt --upgrade --log /tmp/zaqar-pip.log