Add MongoDB GPG Key and Repository on Ubuntu 22.04 Then, use the following command to install the required packages: sudo apt install gpg curl gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates -yĪt this point, you need to add the MongoDB and Pritunl VPN Server repositories on your Ubuntu 22.04. Dependencies For Pritunl VPN Serverįirst, you need to update and upgrade your local package index with the command below: # sudo apt update To do this, you can follow our guide on Initial Server Setup with Ubuntu 22.04. To install Pritunl, log in to your server as a non-root user with sudo privileges. Steps To Set up Pritunl VPN Server and Client on Ubuntu 22.04