The Linux build comes as .deb, .rpm and .zip. These are not better-or-worse options — they map to different package management systems. Picking wrong means, at best, that it will not install.
Match your distribution
| Format | Distributions | Install command |
|---|---|---|
.deb | Debian, Ubuntu, Linux Mint, Deepin, Kali | sudo apt install ./package.deb |
.rpm | RHEL, CentOS Stream, Fedora, openSUSE, AlmaLinux | sudo dnf install ./package.rpm |
.zip | Everything else: Arch, Alpine, Gentoo, NixOS | Extract and run |
cat /etc/os-release
# check ID and ID_LIKE:
# ID_LIKE=debian → use deb
# ID_LIKE="rhel fedora" → use rpm
# anything else → use zipThen confirm the architecture
Format and architecture are independent choices — you need both right.
uname -m
# x86_64 → files with 64 in the name
# aarch64 → files with arm64 in the name
# loongarch64 → the loong64 buildWhy deb and rpm are worth preferring
- Dependencies resolve automatically — missing libraries get pulled in rather than hunted down.
- Desktop integration — an icon appears in your application menu.
- Clean removal —
apt removeordnf removetakes everything with it. - Correct permissions — files land in standard paths with the right ownership.
Using the zip build
The zip has no concept of installation: it runs from wherever you extract it. Good when you do not want to touch system directories, or your distribution uses neither format.
mkdir -p ~/apps/v2rayn && cd ~/apps/v2rayn
unzip ~/Downloads/v2rayN-linux-64.zip
# both the app and the cores need it
chmod +x v2rayN
chmod +x bin/*/*
./v2rayNMissing dependencies
# Debian / Ubuntu
sudo apt update && sudo apt install -y libicu-dev libfontconfig1 libx11-6
# Fedora / RHEL
sudo dnf install -y libicu fontconfig libX11
# find out exactly what is missing
ldd ./v2rayN | grep "not found"That last command is the useful one: it lists every shared library the binary needs, and the not found entries are precisely what you are missing. Search your distribution's package index for the library name to find the package.