You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "janl (via GitHub)" <gi...@apache.org> on 2023/07/22 07:05:58 UTC
[GitHub] [couchdb] janl commented on a diff in pull request #4686: docs: add Centos/RHEL9+, thanks for nothing RedHat
janl commented on code in PR #4686:
URL: https://github.com/apache/couchdb/pull/4686#discussion_r1271260290
##########
src/docs/src/install/unix.rst:
##########
@@ -63,11 +64,19 @@ Enabling the Apache CouchDB package repository
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" \
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
-**RedHat or CentOS**: Run the following commands::
+**RedHat(<9) or CentOS**: Run the following commands::
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
+**RedHat(>=9)**: Run the following commands::
+
+ sudo yum install -y yum-utils
+ sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
+ # Enable EPEL for the SpiderMonkey dependency
+ sudo dnf config-manager --set-enabled crb
+ sudo dnf install epel-release epel-next-release
Review Comment:
Good catch! That’s why I specifically pulled out RedHat >=9 from RedHat/CentOS <=9) — I hope that helps. IF we get reports that the “next” bit is wrong, we can adjust on the fly.
##########
src/docs/src/install/unix.rst:
##########
@@ -63,11 +64,19 @@ Enabling the Apache CouchDB package repository
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" \
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
-**RedHat or CentOS**: Run the following commands::
+**RedHat(<9) or CentOS**: Run the following commands::
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
+**RedHat(>=9)**: Run the following commands::
+
+ sudo yum install -y yum-utils
+ sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
+ # Enable EPEL for the SpiderMonkey dependency
+ sudo dnf config-manager --set-enabled crb
+ sudo dnf install epel-release epel-next-release
Review Comment:
Good catch! That’s why I specifically pulled out RedHat >=9 from RedHat/CentOS <=9) — I hope that helps. IF we get reports that the “next” bit is wrong, we can adjust on the fly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org