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.
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:
- To launch the GUI installer:
sudo apt install libxcb-xinerama0
- 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:
- To launch the GUI installer:
sudo apt install libxcb-xinerama0
- To launch the GUI app, and also if you use Xorg instead of Wayland or run
sudo AmneziaVPN:
sudo apt install libxcb-cursor0
- 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.
Commands you may need to install and run AmneziaVPN:
- To launch the GUI installer:
sudo apt install libxcb-xinerama0
- 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:
- To launch the GUI installer:
sudo apt install libxcb-xinerama0
- 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:
- To launch the GUI installer:
sudo apt install libxcb-xinerama0
- 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.