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=1breaks the connect/disconnect button in AmneziaVPN.
Latest stable release of AmneziaVPN: https://github.com/amnezia-vpn/amnezia-client/releases/latest.
All available AmneziaVPN versions: https://github.com/amnezia-vpn/amnezia-client/releases.
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:
-
To run the
.binfile:sudo apt install libxcb-xinerama0 -
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:
-
To run the
.binfile:sudo apt install libxcb-xinerama0 -
To run the installed app:
sudo apt install libxcb-cursor0You may also need this when using Xorg instead of Wayland or when running
sudo AmneziaVPN. -
To ensure the
AmneziaVPN-servicelogs 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:
-
Open a terminal as
user1and switch torootusing the root password:su root -
Add
user1to thesudogroup: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:
-
To run the
.binfile:sudo apt install libxcb-xinerama0 -
To run the installed app:
sudo apt install libopengl0 libxcb-cursor0You 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:
-
To run the
.binfile:sudo apt install libxcb-xinerama0 -
To run the installed app:
sudo apt install libxcb-cursor0You 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:
-
To run the
.binfile:sudo apt install libxcb-xinerama0 -
To run the installed app:
sudo apt install libxcb-cursor0You 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.