Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.68 KB

install.md

File metadata and controls

86 lines (64 loc) · 1.68 KB

Nmstate Installation Guide

RPM based

Stable release

Nmstate is in Fedora and EPEL 7 testing, you may install it using below commands.

  • Fedora 31+
sudo dnf install nmstate
  • RHEL 8 using copr repo
sudo dnf copr enable nmstate/nmstate-stable
sudo dnf install nmstate

Developer Branch

We have copr repos which automatically build whenever a patch goes into git master branch. Only for develop use.

  • Fedora 31+, CentOS/RHEL 8
sudo dnf copr enable nmstate/nmstate-git-fedora
sudo dnf install nmstate

PyPI/pip

Stable Release

pip --user --upgrade install nmstate

Developer Branch

git clone https://github.com/nmstate/nmstate.git
cd nmstate
pip install --user --upgrade .

setup.py

Stable Release

# Download tarball and signature from:
# https://github.com/nmstate/nmstate/releases/
gpg2 --recv-keys F7910D93CA83D77348595C0E899014C0463C12BB
gpg2 --verify ./nmstate-*.tar.gz.asc nmstate-*.tar.gz
tar xf nmstate-*.tar.gz
cd nmstate-*
python setup.py build
python setup.py install

Developer Branch

git clone https://github.com/nmstate/nmstate.git
cd nmstate
python setup.py build
python setup.py install