I performed all the steps to install sublime 2 on my Ubuntu 14.04 as shown in this link... askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3
but when I try to perform this command
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime
it gives me an output
ln: failed to create symbolic link ‘/usr/bin/sublime’: File exists
and when I try to add Sublime Text to the Unity luncher using this command
sudo sublime /usr/share/applications/sublime.desktop
it gives me an output
sudo: sublime: command not found
Please help me soon. Thank you.
subl
. To your first error: Maybe you already created a file/usr/bin/sublime
, but it isn't executable. – s3lph Oct 11 '14 at 14:52sudo chmod +x /usr/bin/sublime
Then you should be able to just runsublime
to start it. – s3lph Oct 13 '14 at 15:26