How to install Sublime Text 2 and 3 for Ubuntu 16.04

sublime text 2
Are you looking to get the edge with your coding? Here's how you can install Sublime Text 2 and 3 in Ubuntu and start coding like a pro!

Sublime Text is a powerful, fast, and efficient text editor for coding. Over the years Sublime has established a reputation for professionalism due to its high performance and speed. Sublime Text is packed with amazing features that make it a must-have for anyone who codes or develops apps on a regular basis.

The main appeal of Sublime Text is its simplicity which not only suits professionals but also helps new developers get the hang of coding. But this simplicity is rather thin, after taking a deeper look into Sublime. It is extremely complex and filled to the brim with plug-ins, clever auto-completion tricks, and a myriad of other features which will make sure that Sublime is the last code editor you will ever need.

The best part about Sublime Text is that unlike other code text editors, Sublime Text doesn’t require you to understand all of its features from the start. If you’re someone new to the world of coding you can simply use Sublime Text in a normal notepad style. But if you want more – a lot more – then Sublime Text Editor will surely deliver.

Sublime Text currently has 2 different versions. Sublime Text 2 and Sublime Text 3. As you would expect Sublime Text 3 comes with a whole host of new and improved features. However, the only downside is that it’s currently still in beta.

Install Instructions

To begin installing Sublime open a new terminal window, either through the Unity dash menu or by pressing the hotkeys (Ctrl + Alt + T). With the terminal open type in the commands below to install either Sublime Text 2 or 3.

Please Note: You may be asked to enter your password the first time you run a ‘sudo’ command in a new terminal.

Install Sublime Text 2
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
Install Sublime Text 3
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Uninstall Instructions

Uninstalling Sublime Text is just as easy as installation. Simply enter the following commands for your version of Sublime into a terminal (Ctrl + Alt + T)

Uninstall Sublime Text 2
sudo apt-get remove --auto-remove sublime-text
sudo add-apt-repository --remove ppa:webupd8team/sublime-text-2
Uninstall Sublime Text 3
sudo apt-get remove --auto-remove sublime-text-installer
sudo add-apt-repository --remove ppa:webupd8team/sublime-text-3