Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i just downloaded sublime text for my ubuntu, and its working fine. i have the executable file in my


folder. now i would like to invoke this app from the terminal by just typing sublime. i suppose that is possible, pls let me know how.

also, since this application did not need any configure/make/install (i just had to extract it and then use the exec file to run the app), i cannot add this to my gnome launcher fav apps panel. how can i put the app shortcut there, so that when i do a top-left and then type sublime, the results will show the applicaion and then i can click on it and invoke the app from there?


share|improve this question

To answer it in simple way.

If you have installed the sublime app using ppa

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text 

then you can invoke the app using sublime through the command in terminal.

But if you have downloaded the .tar.gz file from here then you have to create a .desktop file invoke from unity launcher or create a alias and invoke from terminal.

share|improve this answer
thanks! thanks!! – ubunnttuu Sep 25 '12 at 15:35

You can create a soft symbol link

$ sudo ln -s ~/sublime /usr/bin/sublime 

Please refer to this blog for more detailed information.

An great alternative for Ubuntu Sublime text users is use a ppa provided by WebUpd8 team.

$ sudo apt-add-repository ppa:webupd8team/sublime-text-2
$ sudo apt-get update
$ sudo apt-get install sublime-text

After installation, you can use subl or subl-text from the terminal.

share|improve this answer
thanks! i will use the ppa for sublime text. – ubunnttuu Sep 25 '12 at 15:34
on a different note, in the link that u provided in the above response, in step4, i see that they are using the SyntaxHighlighter developed by Alex. Is there some way i can use it with Sublime also, just to change the look and feel? I really like how the code looks with that SyntaxHighlighter tool. thanks! – ubunnttuu Sep 25 '12 at 15:35
sorry @ubunnttuu , I am not familiar with SyntaxHighlighter tool. Hope you have solved this problem. – robot zillou Dec 12 '12 at 2:52

Your Answer


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.