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.

Download the archive for the appropriate version, extract it, and run the .bin file. If the installer or the app doesn't start, use the commands for your distribution below.

Debian 13 (x64)

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

If the installer or the app doesn't start, install the dependencies in this order:

  1. To run the .bin file:

    sudo apt install libxcb-xinerama0
  2. To run the installed 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.

If the installer or the app doesn't start, install the dependencies in this order:

  1. To run the .bin file:

    sudo apt install libxcb-xinerama0
  2. To run the installed app:

    sudo apt install libxcb-cursor0

    You may also need this when using Xorg instead of Wayland or when running sudo AmneziaVPN.

  3. 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
  2. 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.

If the installer or the app doesn't start, install the dependencies in this order:

  1. To run the .bin file:

    sudo apt install libxcb-xinerama0
  2. To run the installed app:

    sudo apt install libopengl0 libxcb-cursor0

    You may also need this when running sudo AmneziaVPN.


Ubuntu 24.04.x (x64)

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

If the installer or the app doesn't start, install the dependencies in this order:

  1. To run the .bin file:

    sudo apt install libxcb-xinerama0
  2. To run the installed app:

    sudo apt install libxcb-cursor0

    You may also need this when using Xorg instead of Wayland or when running sudo AmneziaVPN.


Ubuntu 22.04.x (x64)

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

If the installer or the app doesn't start, install the dependencies in this order:

  1. To run the .bin file:

    sudo apt install libxcb-xinerama0
  2. To run the installed app:

    sudo apt install libxcb-cursor0

    You may also need this when using Xorg instead of Wayland or when running sudo AmneziaVPN.


Fedora 40/41 (x64)

AmneziaVPN works right after installation.

You may need to restart the system.