Arch Linux 安装 unity 问题解决

less than 1 minute read

Unity 安装

本机 archlinux,参考wiki:https://wiki.archlinux.org/index.php/Unity3D,使用unityhub

yay -S unityhub

报错:

chmod: 无法访问 '/home/ws/.cache/yay/unityhub/pkg/unityhub/opt/unityhub/unityhub-bin': 没有那个文件或目录

去aur网站看看:https://aur.archlinux.org/packages/unityhub,发现这里PKGBUILD的名字写错了。

You have to change "${pkgdir}/opt/${pkgname}/unityhub-bin" into "${pkgdir}/opt/${pkgname}/unityhub" at line 53 in the PKGBUILD, otherwise you will get the error like "'unityhub/unityhub-bin': No such file or directory"

需要修改PKGBUILD,yay修改PKGBUILD,参考

yay --menuedit -S unituhub

Tags:

Categories:

Updated:

Comments