Emacs:哪里有可执行文件比较好?
Emacs: where is better have the executable file?
在对我的 Debian Jessie 进行多次更改后,当我启动命令 emacs
时,我收到一个错误 libgnutls.so.26 : cannot open shared object file: No such file or directory
。
如果我改为启动命令 emacs24
一切正常。
我 emacs
在 /usr/local/bin
我在 /usr/bin
中有 emacs24
。
所以,现在我创建了一个别名来启动 emacs24 作为 emacs,但我不喜欢,例如,我必须更改 git 设置以打开默认 ide,因为 emacs 尚不可用。
问题是命令的正确位置在哪里?我必须更改我的 PATH 吗?
缺点ider libgnutls.so.26 无法从 apt.
安装
感谢任何建议或建议。
这很奇怪,因为一个简单的 sudo dnf install emacs
就足够了(我用的是 fedora,所以你可能使用 apt-get
而不是 dnf
)。也许最好使用 apt-get
重新安装 emacs(备份您的 .emacs 以确保安全)?无论如何,在 fedora 中,emacs 可执行文件位于 /usr/bin/emacs
(这也是您使用 emacs 命令时在终端中使用的那个)。
在对我的 Debian Jessie 进行多次更改后,当我启动命令 emacs
时,我收到一个错误 libgnutls.so.26 : cannot open shared object file: No such file or directory
。
如果我改为启动命令 emacs24
一切正常。
我 emacs
在 /usr/local/bin
我在 /usr/bin
中有 emacs24
。
所以,现在我创建了一个别名来启动 emacs24 作为 emacs,但我不喜欢,例如,我必须更改 git 设置以打开默认 ide,因为 emacs 尚不可用。
问题是命令的正确位置在哪里?我必须更改我的 PATH 吗? 缺点ider libgnutls.so.26 无法从 apt.
安装感谢任何建议或建议。
这很奇怪,因为一个简单的 sudo dnf install emacs
就足够了(我用的是 fedora,所以你可能使用 apt-get
而不是 dnf
)。也许最好使用 apt-get
重新安装 emacs(备份您的 .emacs 以确保安全)?无论如何,在 fedora 中,emacs 可执行文件位于 /usr/bin/emacs
(这也是您使用 emacs 命令时在终端中使用的那个)。