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 support installing and running AmneziaVPN, 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 Connect button in AmneziaVPN stops working if you use
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1.
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 of AmneziaVPN are not supported on Debian 13.
To run the AmneziaVPN installer and app, install the required system library packages:
sudo apt install libxcb-cursor0 libxcb-xinerama0 libxcb-icccm4 libxcb-keysyms1 libopengl0
Debian 12 (x64)
Use AmneziaVPN 4.8.11.4 or earlier. Newer versions of AmneziaVPN are not supported on Debian 12.
To run the AmneziaVPN installer and app, install the required system library packages:
sudo apt install libxcb-cursor0 libxcb-xinerama0 libxcb-icccm4 libxcb-keysyms1 libopengl0
You may also need this command if you use Xorg instead of Wayland or run sudo AmneziaVPN.
For correct AmneziaVPN-service log output, install the iptables package:
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 of AmneziaVPN are not supported on Debian 11.
Wayland is not supported — you will get the error undefined symbol: wl_proxy_marshal_flags. Use Xorg instead.
To run the AmneziaVPN installer and app, install the required system library packages:
sudo apt install libxcb-cursor0 libxcb-xinerama0 libxcb-icccm4 libxcb-keysyms1 libopengl0
You may also need this command when running sudo AmneziaVPN.
Ubuntu 24.04.x (x64)
Use AmneziaVPN 4.8.12.9 or later. Earlier versions of AmneziaVPN are not supported on Ubuntu 24.04.x.
To run the AmneziaVPN installer and app, install the required system library packages:
sudo apt install libxcb-cursor0 libxcb-xinerama0 libxcb-icccm4 libxcb-keysyms1 libopengl0
You may also need this command if you use Xorg instead of Wayland or run sudo AmneziaVPN.
Ubuntu 22.04.x (x64)
Use AmneziaVPN 4.8.11.4 or earlier. Newer versions of AmneziaVPN are not supported on Ubuntu 22.04.x.
To run the AmneziaVPN installer and app, install the required system library packages:
sudo apt install libxcb-cursor0 libxcb-xinerama0 libxcb-icccm4 libxcb-keysyms1 libopengl0
You may also need this command if you use Xorg instead of Wayland or run sudo AmneziaVPN.
Fedora 40/41 (x64)
AmneziaVPN works right after installation.
You may need to restart the system.