v2fly / fhs-install-v2ray

Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
GNU General Public License v3.0
6.28k stars 1.45k forks source link

v2ctl is not installed #274

Closed TylerTemp closed 1 year ago

TylerTemp commented 1 year ago

The document says it contains v2ctl:

installed: /usr/local/bin/v2ctl

however, v2ctl is not installed:

bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
# some output skipped...
installed: /usr/local/bin/v2ray
installed: /usr/local/share/v2ray/geoip.dat
installed: /usr/local/share/v2ray/geosite.dat
installed: /etc/systemd/system/v2ray.service
installed: /etc/systemd/system/v2ray@.service
removed: /tmp/tmp.BNTktYV17n
info: V2Ray v5.3.0 is installed.
# some output skipped...

And I can not find v2ctl:

$ v2ctl
zsh: command not found: v2ctl
$ ls /usr/local/bin/v2ctl
ls: cannot access '/usr/local/bin/v2ctl': No such file or directory
$ whereis v2ctl
v2ctl:

My question: How can I install v2ctl?

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy
FSWei commented 1 year ago

me too /(ㄒoㄒ)/~~

young-zy commented 1 year ago

check https://github.com/v2fly/v2ray-core/pull/488 v2ctl has been removed in v5. use v2ray binary instead