Installing AmneziaVPN on Linux
Supported Distributions:
We can guarantee functionality only for the base versions of the distributions listed below (*out of the box). Other distributions may also support the application, but we cannot guarantee this.
Debian 11 (x64) (does not work on Wayland)
Debian 12 (x64)
Ubuntu 22.04.5 (x64)
Ubuntu 24.04.1 (x64)
Fedora 40 (x64)
Fedora 41 (x64)
AmneziaVPN does not work on Debian 13
Debian 12 (x64)
To install AmneziaVPN, in addition to administrative user rights, you need to install the following libraries and components:
sudo apt install libxcb-xinerama0
Without this, the GUI installer will not launch.
sudo apt install libxcb-cursor0
Without this, the AmneziaVPN GUI will not start. It is also required if Xorg is used instead of Wayland or if the application is launched with sudo AmneziaVPN
.
sudo apt install iptables
Use this before contacting support. Without it, the Amnezia-service log will be filled with errors about missing iptables.
If during the OS installation process you set a root password, your user account (e.g., "user1") will be created without administrative rights.
How to fix this issue:
- Open a terminal under "user1".
- "Elevate" the terminal to root using the root password:
su root
- Add "user1" to the sudo group:
sudo usermod -aG sudo user1
Debian 11 (x64)
Does not work on Wayland out of the box: "undefined symbol: wl_proxy_marshal_flags".
You must choose an architecture other than Wayland.
To install AmneziaVPN, in addition to administrative user rights, you need to install the following libraries and components:
sudo apt install libxcb-xinerama0
Without this, the GUI installer will not launch.
sudo apt install libopengl0
Without this, the AmneziaVPN GUI will not start.
sudo apt install libxcb-cursor0
Without this, the AmneziaVPN GUI will not start because an architecture other than Wayland is used.
Ubuntu 22.04.5 (x64)
To install AmneziaVPN, in addition to administrative user rights, you need:
sudo apt install libxcb-xinerama0
Without this, the GUI installer will not launch.
sudo apt install libxcb-cursor0
Without this, the AmneziaVPN GUI will not start if Xorg is used instead of Wayland (or if launched with sudo AmneziaVPN).
Ubuntu 24.04.1 (x64)
To install AmneziaVPN, in addition to administrative user rights, you need:
sudo apt install libxcb-xinerama0
Without this, the GUI installer will not launch.
sudo apt install libxcb-cursor0
Without this, the AmneziaVPN GUI will not start if Xorg is used instead of Wayland (or if launched with sudo AmneziaVPN).
Fedora 40 (x64)
AmneziaVPN works immediately after installation.
A system restart may be required.
Fedora 41 (x64)
AmneziaVPN works immediately after installation.
A system restart may be required.
On all Linux distributions, the IPv6 subsystem must not be disabled.
Specifically, the command sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 breaks the connect/disconnect button functionality in AmneziaVPN.