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.
This commit is contained in:
Josh Berkus 2021-08-06 17:52:29 -07:00 committed by GitHub
parent 28c383af68
commit 22d8d582f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -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 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** **Mac OS X**
If you're not on the latest version of OS X, we recommend upgrading because we've found that many If you're not on the latest version of OS X, we recommend upgrading because we've found that many