我想启动wine
可执行文件(版本 2.12),但出现以下错误($
=shell 提示):
$ wine
bash: /usr/bin/wine: No such file or directory
$ /usr/bin/wine
bash: /usr/bin/wine: No such file or directory
$ cd /usr/bin
$ ./wine
bash: ./wine: No such file or directory
Run Code Online (Sandbox Code Playgroud)
但是,该文件在那里:
$ which wine
/usr/bin/wine
Run Code Online (Sandbox Code Playgroud)
可执行文件肯定存在并且没有死符号链接:
$ stat /usr/bin/wine
File: /usr/bin/wine
Size: 9712 Blocks: 24 IO Block: 4096 regular file
Device: 802h/2050d Inode: 415789 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-07-13 13:53:00.000000000 +0200
Modify: 2017-07-08 03:42:45.000000000 …
Run Code Online (Sandbox Code Playgroud) 我刚刚在我的 Arch Linux 上安装了 GUIX,但是,我仍然很难理解一些概念。我知道配置文件是从中选择的包/gnu/store
,我可以通过获取<profile-dir>/etc/profile
. 但是,我不明白为什么我似乎有两个“默认”配置文件,作为符号链接存储在我的主目录中:
~/.guix-profile -> /var/guix/profiles/per-user/user/guix-profile
~/.config/guix/current -> /var/guix/profiles/per-user/user/current-guix
我能够找到一些信息,但还不够:
.guix-profile
您可以为其分配所需的角色。通常你会安装你想要一直使用的包的清单。
或者,您可以将它保留为“无清单”,用于您将只使用几天以上的一次性包装。这种方式可以方便地运行
guix install package-foo
和guix upgrade package-bar
(来自 GUIX 说明书)
.config/guix/current
:
运行 guix pull 的结果是一个
~/.config/guix/current
包含最新 Guix的配置文件。(“调用guix pull
”)
这两个配置文件有什么区别?为什么我需要这两个?我是否需要在登录时同时提供两者?