Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After follow this tutorial, I cannot lauch Sublime Text from command line... how can I fix this?

share|improve this question

2 Answers 2

up vote 12 down vote accepted

After follow that tutorial and face the problem reported, i googled about and realized that I forgot to create a symbolic link...

sudo ln -s /opt/sublime/sublime_text /usr/bin/subl

Now the problem is solved :)

share|improve this answer

For recent versions of Ubuntu and Sublime Text 3, I'm adding a symlink like this:

sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl

Then I can execute it from terminal like subl myFile.php.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.