Package Details: v2rayn 7.11.1-1

Git Clone URL: https://aur.archlinux.org/v2rayn.git (read-only, click to copy)
Package Base: v2rayn
Description: A GUI client supporting Xray core, sing-box core and other cores
Upstream URL: https://github.com/2dust/v2rayN
Keywords: v2rayn
Licenses: GPL-3.0-only
Conflicts: v2rayn-bin
Submitter: yidaduizuoye
Maintainer: yidaduizuoye
Last Packager: yidaduizuoye
Votes: 6
Popularity: 2.48
First Submitted: 2024-12-30 14:38 (UTC)
Last Updated: 2025-04-09 10:27 (UTC)

Latest Comments

yidaduizuoye commented on 2025-04-03 05:32 (UTC)

@raxp Added aarch64 support, thanks for your feedback!

raxp commented on 2025-04-01 14:37 (UTC)

@yidaduizuoye hey, ArchLinux ARM user here. Just tried to build v2rayN on aarch64. Seems it builds and works fine. Also 2dust offers ARM binaries for Linux himself via GitHub releases. Maybe it's safe to add aarch64 to the PKGBUILD?

yidaduizuoye commented on 2025-03-28 02:10 (UTC)

@Akari-chan Thanks! Fixed in 7.10.5-2. Using relative paths is to ensure all files belong to the same sysroot, e.g. extracting this package, it will not link to external files.

Akari-chan commented on 2025-03-27 00:06 (UTC)

Symlinks don't seem to work:

The Core file (file name: xray) was not found under the folder (/home/username/.local/share/v2rayN/bin/xray), please download and put it in the folder, download address: https://github.com/XTLS/Xray-core/releases
2025/03/27 02:18:55 Test completed

as xray is at

❯ ls -l /usr/lib/v2rayN/bin/xray/xray
lrwxrwxrwx 1 root root 17 Mar 27 00:06 /usr/lib/v2rayN/bin/xray/xray -> ../../../bin/xray

❯ which xray
/usr/bin/xray

❯ realpath /usr/lib/v2rayN/bin/xray/xray
realpath: /usr/lib/v2rayN/bin/xray/xray: No such file or directory

Because it actually links to /usr/❗lib❗/bin/xray, not /usr/bin/xray.

Why not just

for bin in mihomo xray sing-box; do
    # notice no ../ or ${pkgdir}
    ln -sv "/usr/bin/${bin}" "${pkgdir}/usr/lib/${_pkgname}/bin/${bin//-/_}/${bin}"
done

Link doesn't have to be valid at the moment of creation.

Then it works fine

'/build/v2rayn/pkg/v2rayn/usr/lib/v2rayN/bin/mihomo/mihomo' -> '/usr/bin/mihomo'
'/build/v2rayn/pkg/v2rayn/usr/lib/v2rayN/bin/xray/xray' -> '/usr/bin/xray'
'/build/v2rayn/pkg/v2rayn/usr/lib/v2rayN/bin/sing_box/sing-box' -> '/usr/bin/sing-box'
==> Tidying install...

and

❯ realpath /usr/lib/v2rayN/bin/xray/xray
/usr/bin/xray

yidaduizuoye commented on 2025-01-30 14:42 (UTC)

@Jericho You need to uninstall extra/dotnet-runtime manually and install extra/dotnet-runtime-8.0

Jericho commented on 2025-01-28 11:03 (UTC) (edited on 2025-01-28 11:06 (UTC) by Jericho)

I'm trying to reinstall the program completely, after updating the package “extra/dotnet-runtime 8.0.11.sdk111-1 -> 9.0.1.sdk102-1”

==> Making package: v2rayn 7.7.0-2
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> dotnet-sdk
==> ERROR: Could not resolve all dependencies.
 -> error making: v2rayn-exit status 8
checking dependencies...

Package (5)                 Old Version      Net Change 

dotnet-runtime-8.0          8.0.12.sdk112-2   -66,29 MiB
dotnet-targeting-pack-8.0   8.0.12.sdk112-2   -45,49 MiB
netstandard-targeting-pack  9.0.1.sdk102-1    -17,87 MiB
dotnet-sdk-8.0              8.0.12.sdk112-2  -299,57 MiB
go                          2:1.23.5-1       -223,40 MiB

Total Removed Size:  652,62 MiB

:: Do you want to remove these packages? [Y/n] 

A compatibility error occurs and the program is no longer installed.

yidaduizuoye commented on 2025-01-23 06:26 (UTC) (edited on 2025-01-23 06:26 (UTC) by yidaduizuoye)

@zept I tried replacing the method of linking the core files and it should work fine now, please try updating to 7.7.0-2. Thanks for your feedback.

zept commented on 2025-01-22 14:23 (UTC)

Hi, could you please update the AUR package to reflect these recent changes? I have tried building the package multiple times, but it did not work for me on several installations. However, it seems to work perfectly fine when upgrading from an older version.

As mentioned in the 7.7.0 release on GitHub:

Linux 和 macOS 的发布的安装包中增加了 Xray sing-box mihomo 三个内核,在首次安装后可以直接使用

Thank you in advance.

yidaduizuoye commented on 2025-01-08 02:33 (UTC)

@pomeluce The bin/ folder is not created until the first run, fix in 7.5.5-2. Thanks!

pomeluce commented on 2025-01-08 02:15 (UTC)

v2rayN.sh will prompt the following message when running:

cp: cannot create regular file '/home/xxx/.local/share/v2rayN/bin/xray': No such file or directory
cp: cannot create regular file '/home/xxx/.local/share/v2rayN/bin/sing_box': No such file or directory

The '~/.local/share/v2rayN/bin' directory needs to be created manually. Can the creation code for the ~/.local/share/v2rayN/bin directory be added to v2rayN.sh?