Install Sublime Text 2 on Ubuntu and make application shortcut luncher

Step 1

Download Sublime Text 2 from their download location. To download it please type the following command :

Step 2

After downloading Sublime Text 2 you’ll need to extract the .tar.bz2 file. To extract tar.bz2 type the following command :

Now you will get a extracted directory with all the files needed to run Sublime Text 2. So it’s better to move this directory to another appropriate place. To move this folder

If you want to write sublime command only to run Sublime Text 2 then you need to link the file by typing the following command :

Now to create luncher in Ubuntu Unity we just need to create sublime.desktop file in /usr/share/applications with the following snippet :

Create sublime.desktop file by typing the following command :

Then write the following code in newly created blank text file.

Save this file and restart your terminal. And type the following command to run sublime.

Now enjoy the power of the world’s most popular editor for programmers. Happy coding!