我第一次安装Ubuntu是在45分钟前。记住这一点,请慢慢回答我!
我一直试图通过遵循这些指示来安装崇高文本2。(第一种方法)
首先,我导航到我的根目录:
cd ~然后,我遵循了上面链接中详细介绍的步骤:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get --purge remove sublime-text*
sudo apt-get install sublime-text我觉得一切都很正常。但是,我不知道在哪里安装了崇高文本,也不知道如何运行它。(我希望我能点击它!)
发布于 2013-10-11 13:57:52
您可以使用whereis命令。例如,在您的例子中:
whereis sublime-text而且,locate在这个意义上也是有用的。像这样使用它:
sudo updatedb && locate sublime-text发布于 2013-10-11 14:03:12
您可以尝试通过shell命令找出二进制文件在系统中的位置:
dpkg -L sublime-text | grep bin/但不需要研究你就可以试着
sublime_text在终点站。
如果要在“开始”菜单中设置程序,可以在/usr/share/applications中将名为“sublime.desktop”的文件装箱,其内容如下:
[Desktop Entry]
Encoding=UTF-8
Name=Sublime Text
Comment=Sublime Text 2
Exec=sublime_text
Icon=/opt/sublime/Icon/256x256/sublime_text.png
Terminal=false
Type=Application
Categories=GNOME;GTK;Utility;TextEditor;
StartupNotify=true正如你的链接所描述的。但也许这个文件已经制作好了。这个新的菜单条目可以在“菜单->附件”中找到。
https://askubuntu.com/questions/356751
复制相似问题