How to install Sublime Text Editor 3 on Ubuntu

How to install Sublime Text Editor 3 on Ubuntu

Sublime Text 3 or version 3 for Ubuntu is a sophisticated text editor for code, markup and prose. It allows for richer syntax highlighting and better performance. Some of the core features in Sublime Text 3 are the new syntax definition format, improved word behaviour, improved file indexing, Goto Definition and Goto Symbol in Project.

Features:-

  • Improved word wrap behavior
  • Improved spell check behavior
  • Improved file indexing behavior with multiple windows open
  • In HTML files while pressing enter when between a tag pair will increase indentation
  • Added new Syntax Definition file format, .sublime-syntax
  • Added Panel Switcher to status bar
  • Better handling of troublesome files during indexing
  • Improved file change detection
  • Added sidebar loading indicators

1. Add the sublime package into repository.

root@linuxhelp:~# add-apt-repository ppa:webupd8team/sublime-text-3
 Sublime Text 3 Installer: the package in this PPA downloads and installs the latest Sublime Text 3 beta builds.
For more info, see: http://www.webupd8.org/2013/07/sublime-text-3-ubuntu-ppa-now-available.html
 More info: https://launchpad.net/~webupd8team/+archive/ubuntu/sublime-text-3
Press [ENTER] to continue or ctrl-c to cancel adding it
.
.
.
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:              imported: 1  (RSA: 1)
OK

2. Update the machine.

root@linuxhelp:~# apt-get update
Hit http://in.archive.ubuntu.com wily InRelease                                             
Hit http://in.archive.ubuntu.com wily-updates InRelease                                     
Hit http://in.archive.ubuntu.com wily-backports InRelease                                   
Hit http://in.archive.ubuntu.com wily/main Sources                                          
Hit http://in.archive.ubuntu.com wily/restricted Sources                                     
Hit http://in.archive.ubuntu.com wily/universe Sources 
.
.
.
Hit http://in.archive.ubuntu.com wily-backports/restricted Translation-en                   
Hit http://in.archive.ubuntu.com wily-backports/universe Translation-en                     
Fetched 16.8 kB in 11s (1,460 B/s)                                                          
Reading package lists... Done

3. Install the sublime editor package

root@linuxhelp:~# apt-get install sublime-text-installer
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
.
.
.
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up sublime-text-installer (3126-2~webupd8~1) ...

4. Open the dashboard of Ubuntu and open the sublime editor.

FAQ
Q
which command to install the sublime package after adding repo?
A
use the following command to install the sublime text editor
# apt-get install sublime-text-installer
Q
what are all the features of installing sublime text editor?
A
the features of installing sublime text editor are,
*mproved word wrap behavior
*Improved spell check behavior
*Improved file indexing behavior with multiple windows open
*In HTML files while pressing enter when between a tag pair will *increase indentation
*Added new Syntax Definition file format, .sublime-syntax
*Added Panel Switcher to status bar
*Better handling of troublesome files during indexing
*Improved file change detection
*Added sidebar loading indicators
Q
what are the purpose of using the sublime text editor?
A
Sublime Text 3 or version 3 for Ubuntu is a sophisticated text editor for code, markup and prose. It allows for richer syntax highlighting and better performance. Some of the core features in Sublime Text 3 are the new syntax definition format, improved word behaviour, improved file indexing,
Q
How to add the repository for installing sublime?
A
Add the sublime package into repository using the below command
# add-apt-repository ppa:webupd8team/sublime-text-3
Q
sublime text editor is a open source package?
A
No, you need to buy licence for this software