Sunday, March 22, 2015

How to install sublime text 3 on Lubuntu

How to install sublime text 3 on Lubuntu

Besides sublime text 2, you can also install sublime text version 3 on lubuntu if you want, they both totally compatible with lubuntu operating system.

If you previously installed sublime text 2, then it will be automatically upgraded to sublime 3 once you run sublime 3 installation.

Okay to install sublime text 3, first you need to add the ppa repository for sublime 3, open up your terminal, then type this command:
sudo add-apt-repository ppa:webupd8team/sublime-text-3

Next, run the apt-get update command, like this:
sudo apt-get update

Finally you can run the apt-get install command, like this:
sudo apt-get install sublime-text-installer

The location of the sublime 3 binary now is on /opt/sublime_text/sublime_text (on sublime 2 it was /opt/sublime_text2/sublime_text). 


Remember if you are going to edit something inside root, you need to run sublime like this:
sudo /opt/sublime_text/sublime_text

Happy coding :)

3 comments: