每当我尝试通过输入sublime-text从我的终端执行Sublime 2时,它提供了以下内容:
/usr/bin/sublime-text: line 3: /opt/sublime_text_2/sublime_text: No such file or directory此外,菜单中有两个图标,它们都不起作用。
以下是我尝试过的以下几点:
但这些似乎都不起作用。我该怎么办?
发布于 2013-11-22 22:46:03
运行以下命令可以重新安装崇高文本2,并安装崇高文本3:
sudo rm -rf /opt/sublime_text_2 /usr/bin/sublime-text
# this will remove the old install directory and execution script
sudo add-apt-repository ppa:webupd8team/sublime-text-2
# add the ST2 repository
sudo add-apt-repository ppa:webupd8team/sublime-text-3
# same for ST3
sudo apt-get update
sudo apt-get install sublime-text sublime-text-installer
# install ST2 and ST3, respectively现在您应该能够从命令行运行sublime-text来启动ST2,并能够运行subl来启动ST3。一如既往,请记住以下几点:
崇高的文本可以免费下载和评估,但是必须购买许可才能继续使用。
https://askubuntu.com/questions/380889
复制相似问题