mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-12 02:28:17 -06:00
Update install docs with Python3.9 instruction
I have updated Install System Packages section with updated installation instructions for RHEL and CentOS systems to install Python3.9.
This commit is contained in:
parent
a090955918
commit
7202710fb6
@ -18,8 +18,28 @@ Begin by installing all system packages required by NetBox and its dependencies.
|
||||
=== "CentOS"
|
||||
|
||||
```no-highlight
|
||||
sudo yum install -y gcc python36 python36-devel python3-pip libxml2-devel libxslt-devel libffi-devel libpq-devel openssl-devel redhat-rpm-config
|
||||
sudo yum install -y gcc libxml2-devel libxslt-devel libffi-devel libpq-devel openssl-devel redhat-rpm-config
|
||||
```
|
||||
Download Python from source (with X indicate the minor release):
|
||||
```no-highlight
|
||||
wget https://www.python.org/ftp/python/3.9.X/Python-3.9.X.tgz
|
||||
```
|
||||
Extract the tarball:
|
||||
```no-highlight
|
||||
tar xzf Python-3.9.X.tgz
|
||||
```
|
||||
Enter into directory and compile with altinstall options (in this way you could maintain the old installation):
|
||||
```no-highlight
|
||||
cd Python-3.9.X
|
||||
sudo ./configure --enable-optimizations
|
||||
sudo make altinstall
|
||||
```
|
||||
To check if Python is installed correctly you could perform:
|
||||
```no-highlight
|
||||
python3.9 -V
|
||||
```
|
||||
Now you could remove Python extract directory and relative Python tarball
|
||||
|
||||
|
||||
Before continuing with either platform, update pip (Python's package management tool) to its latest release:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user