Skip to main content

Installing AmneziaVPN on Linux

Supported distributions

We only guarantee out-of-the-box support for the standard distribution releases listed below. Other Linux distributions may also work, but they are not officially supported.

On any Linux distribution:

  • you must have administrator privileges to install AmneziaVPN.
  • do not disable the IPv6 subsystem. The command sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 breaks the connect/disconnect button in AmneziaVPN.

Debian 13 (x64)

Use AmneziaVPN 4.8.12.9 or later. Earlier versions are not supported on Debian 13.

Commands you may need to install and run AmneziaVPN:

  1. To launch the GUI installer:
sudo apt install libxcb-xinerama0
  1. To launch the GUI app:
sudo apt install libxcb-cursor0

Debian 12 (x64)

Use AmneziaVPN 4.8.11.4 or earlier. Newer versions are not supported on Debian 12.

Commands you may need to install and run AmneziaVPN:

  1. To launch the GUI installer:
sudo apt install libxcb-xinerama0
  1. To launch the GUI app, and also if you use Xorg instead of Wayland or run sudo AmneziaVPN:
sudo apt install libxcb-cursor0
  1. To ensure the AmneziaVPN-service logs are written correctly:
sudo apt install iptables

If you set a root password during OS installation, your regular user account, for example user1, may be created without administrator privileges. To fix this:

  1. Open a terminal as user1 and switch to root using the root password:
su root
  1. Add user1 to the sudo group:
sudo usermod -aG sudo user1

Debian 11 (x64)

Use AmneziaVPN 4.8.11.4 or earlier. Newer versions are not supported on Debian 11.

Wayland is not supported - you will get the error undefined symbol: wl_proxy_marshal_flags. Use Xorg instead.

Commands you may need to install and run AmneziaVPN:

  1. To launch the GUI installer:
sudo apt install libxcb-xinerama0
  1. To launch the GUI app, since Wayland is not supported, or if you run sudo AmneziaVPN:
sudo apt install libopengl0 libxcb-cursor0

Ubuntu 24.04.x (x64)

Use AmneziaVPN 4.8.12.9 or later. Earlier versions are not supported on Ubuntu 24.04.x.

Commands you may need to install and run AmneziaVPN:

  1. To launch the GUI installer:
sudo apt install libxcb-xinerama0
  1. To launch the GUI app, and also if you use Xorg instead of Wayland or run sudo AmneziaVPN:
sudo apt install libxcb-cursor0

Ubuntu 22.04.x (x64)

Use AmneziaVPN 4.8.11.4 or earlier. Newer versions are not supported on Ubuntu 22.04.x.

Commands you may need to install and run AmneziaVPN:

  1. To launch the GUI installer:
sudo apt install libxcb-xinerama0
  1. To launch the GUI app, and also if you use Xorg instead of Wayland or run sudo AmneziaVPN:
sudo apt install libxcb-cursor0

Fedora 40/41 (x64)

AmneziaVPN works right after installation.

You may need to restart the system.