# 添加公钥
wget -qO - https://apt.v2raya.org/key/public-key.asc | sudo tee /etc/apt/keyrings/v2raya.asc
# 添加V2RayA软件源
echo "deb [signed-by=/etc/apt/keyrings/v2raya.asc] https://apt.v2raya.org/ v2raya main" | sudo tee /etc/apt/sources.list.d/v2raya.list
sudo apt update
# 安装 V2RayA
sudo apt install v2raya v2ray ## you can install xray package instead of if you want
下载deb包后(下载链接) ,使用命令行进行安装:
sudo apt install /path/download/installer_debian_xxx_vxxx.deb #替换为自己的包名
从1.5版本开始,不再默认启动v2rayA并设置自动启动。
sudo systemctl start v2raya.service #启动v2rayA
sudo systemctl enable v2raya.service #设置自动启动