From 22d8d582f8905d99c897b2d5d31c9daa91cd8c2e Mon Sep 17 00:00:00 2001 From: Josh Berkus Date: Fri, 6 Aug 2021 17:52:29 -0700 Subject: [PATCH] docs: update install-from-scratch instructions for CentOS (#16129) Update install-from-scratch instructions for current CentOS stream, based on doing a test install today. CentOS stream python packages are now named after the version ("python3") and current Superset code requires updating Pip to a more current version. --- .../pages/docs/installation/installing_scratch.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/pages/docs/installation/installing_scratch.mdx b/docs/src/pages/docs/installation/installing_scratch.mdx index 11126aecead..2fb1b7a814e 100644 --- a/docs/src/pages/docs/installation/installing_scratch.mdx +++ b/docs/src/pages/docs/installation/installing_scratch.mdx @@ -36,6 +36,18 @@ Install the following packages using the `yum` package manager: sudo yum install gcc gcc-c++ libffi-devel python-devel python-pip python-wheel openssl-devel cyrus-sasl-devel openldap-devel ``` +In more recent versions of CentOS and Fedora, you may need to install a slightly different set of packages using `dnf`: + +``` +sudo dnf install gcc gcc-c++ libffi-devel python3-devel python3-pip python3-wheel openssl-devel cyrus-sasl-devel openldap-devel +``` + +Also, on CentOS, you may need to upgrade pip for the install to work: + +``` +pip3 install --upgrade pip +``` + **Mac OS X** If you're not on the latest version of OS X, we recommend upgrading because we've found that many