|
@@ -29,8 +29,8 @@ The instance root defaults to `/opt/netbox` and may be changed with the `NETBOX_
|
|
|
|
|
|
|
|
Begin by installing all system packages required by NetBox and its dependencies.
|
|
Begin by installing all system packages required by NetBox and its dependencies.
|
|
|
|
|
|
|
|
-!!! warning "Python 3.12 or later required"
|
|
|
|
|
- NetBox supports only Python 3.12 or later.
|
|
|
|
|
|
|
+!!! warning "Python 3.14 recommended"
|
|
|
|
|
+ NetBox requires Python 3.12 or later, and Python 3.14 is recommended. Support for Python 3.12 and 3.13 is deprecated as of NetBox v4.8 and will be removed in NetBox v5.0, which will require Python 3.14 or later.
|
|
|
|
|
|
|
|
```no-highlight
|
|
```no-highlight
|
|
|
sudo apt install -y python3 python3-pip python3-venv python3-dev \
|
|
sudo apt install -y python3 python3-pip python3-venv python3-dev \
|
|
@@ -38,7 +38,7 @@ build-essential libxml2-dev libxslt1-dev libffi-dev libpq-dev \
|
|
|
libssl-dev zlib1g-dev
|
|
libssl-dev zlib1g-dev
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-Before continuing, check that your installed Python version is at least 3.12:
|
|
|
|
|
|
|
+Before continuing, check your installed Python version. It must be at least 3.12, and should be 3.14 or later:
|
|
|
|
|
|
|
|
```no-highlight
|
|
```no-highlight
|
|
|
python3 -V
|
|
python3 -V
|
|
@@ -64,7 +64,7 @@ sudo python3 -m venv /opt/netbox/venv
|
|
|
sudo /opt/netbox/venv/bin/python -m pip install --upgrade pip
|
|
sudo /opt/netbox/venv/bin/python -m pip install --upgrade pip
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-If the default `python3` executable is older than Python 3.12, create the virtual environment with a supported interpreter instead (for example, `sudo python3.12 -m venv /opt/netbox/venv`). That interpreter also needs its own `venv` and `dev` packages (for example, `python3.12-venv` and `python3.12-dev`), which are not covered by the system packages above.
|
|
|
|
|
|
|
+If the default `python3` executable is older than Python 3.14, create the virtual environment with Python 3.14 instead (for example, `sudo python3.14 -m venv /opt/netbox/venv`). If your distribution doesn't package Python 3.14, install it from another source first. That interpreter also needs its own `venv` and `dev` packages (for example, `python3.14-venv` and `python3.14-dev`), which are not covered by the system packages above.
|
|
|
|
|
|
|
|
Install the desired NetBox release. Replace `X.Y.Z` with the exact version to install. (Available releases are listed on [PyPI](https://pypi.org/project/netbox/#history).)
|
|
Install the desired NetBox release. Replace `X.Y.Z` with the exact version to install. (Available releases are listed on [PyPI](https://pypi.org/project/netbox/#history).)
|
|
|
|
|
|