The ways described here to install privacyIDEA are
the installation via the Python Package Index, which can be used on any Linux distribution and
ready made Ubuntu Packages for Ubuntu 16.04 LTS and 18.04 LTS.
If you want to upgrade please read Upgrading.
After installation you might want to take a look at First Steps.