snap version sucks
https://github.com/v2fly/fhs-install-v2ray
安裝和更新 V2Ray
// 安裝執行檔和 .dat 資料檔
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
安裝最新發行的 geoip.dat 和 geosite.dat
// 只更新 .dat 資料檔
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)
V2rayA
Install v2rayA
Install with v2ray core:
sudo sh -c “$(wget -qO- https://github.com/v2rayA/v2rayA-installer/raw/main/installer.sh)” @ –with-v2ray
Install with xray core:
sudo sh -c “$(wget -qO- https://github.com/v2rayA/v2rayA-installer/raw/main/installer.sh)” @ –with-xray
Use curl -Ls to replace wget -qO- if you want to use curl instead of wget.
Remove v2rayA
sudo sh -c “$(wget -qO- https://github.com/v2rayA/v2rayA-installer/raw/main/uninstaller.sh)”