Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu - Install Mullvad VPN

Use the following command chain to download the mullvad public in order to trust it, before then adding the repository to install and keep mullvad up-to-date.

sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc \
  && echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" \
  | sudo tee /etc/apt/sources.list.d/mullvad.list \
  && sudo apt update \
  && sudo apt install mullvad-vpn 

Old Method

This is an old method that I'm keeping hold of just in case:

The script below will use axel and gdebi-core to download Mullvad as fast as possible before then installing it.

sudo apt update && sudo apt install axel gdebi-core -y \
  && axel -n 4 --output=mullvad.deb https://mullvad.net/download/app/deb/latest \
  && sudo gdebi --non-interactive mullvad.deb \
  && sudo rm mullvad.deb

References

Last updated: 1st March 2024
First published: 18th May 2021