Installing semver¶
Linux Distributions¶
Note
Some Linux distributions can have outdated packages. These outdated packages does not contain the latest bug fixes or new features. If you need a newer package, you have these option:
- Ask the maintainer to update the package.
- Update the package for your favorite distribution and submit it.
- Use a Python virtual environment and pip install.
Arch Linux¶
Enable the community repositories first:
[community] Include = /etc/pacman.d/mirrorlist
Install the package:
$ pacman -Sy python-semver
Debian¶
Update the package index:
$ sudo apt-get update
Install the package:
$ sudo apt-get install python3-semver
Fedora¶
$ dnf install python3-semver
FreeBSD¶
$ pkg install py36-semver
openSUSE¶
Enable the the
devel:languages:python
repository on the Open Build Service (replace<VERSION>
with the preferred openSUSE release):$ zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_<VERSION>/devel:languages:python.repo
Install the package:
$ zypper --repo devel_languages_python python3-semver
Ubuntu¶
Update the package index:
$ sudo apt-get update
Install the package:
$ sudo apt-get install python3-semver