How to install Sublime text editor in Ubuntu 17.04

How to install Sublime text editor in Ubuntu 17.04

Sublime Text editor is a lightweight, multi-platform, text editor which  is widely used for writing programming and markup languages and it is a feature-rich extension of vim text editor. It does not require any plugins and is considered to be a sophisticated text editor application widely used for CSS3 and HTML5 code. This tutorial explains on how to install the Sublime text editor in Ubuntu. 

 

Installation procedure

To begin with the installation procedure, add the repo by executing the following command. 

root@linuxhelp1:~# 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: keybox '/tmp/tmpezgmcbss/pubring.gpg' created
gpg: /tmp/tmpezgmcbss/trustdb.gpg: trustdb created
gpg: key C2518248EEA14886: public key "Launchpad VLC" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
OK

The repositories is added to the target system. Next update the repo by running the apt-get update command

root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]    
Get:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu zesty InRelease [15.4 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty InRelease                     
Get:4 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu zesty/main amd64 Packages [532 B]
Get:5 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]   
Get:6 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu zesty/main i386 Packages [532 B]
Get:7 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu zesty/main Translation-en [276 B]
Hit:8 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease           
Get:9 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages [43.5 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu zesty-updates/main i386 Packages [42.4 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu zesty-updates/main Translation-en [18.5 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu zesty-updates/main amd64 DEP-11 Metadata [208 B]
Get:13 http://in.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages [17.4 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu zesty-updates/universe i386 Packages [17.4 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu zesty-updates/universe Translation-en [11.0 kB]
Get:16 http://in.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 DEP-11 Metadata [24.9 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11 64x64 Icons [14.7 kB]
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]    
Get:18 http://security.ubuntu.com/ubuntu zesty-security/main amd64 Packages [36.3 kB]
Get:19 http://security.ubuntu.com/ubuntu zesty-security/main i386 Packages [35.5 kB]
Get:20 http://security.ubuntu.com/ubuntu zesty-security/main Translation-en [15.5 kB]
Get:21 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [204 B]
Get:22 http://security.ubuntu.com/ubuntu zesty-security/universe i386 Packages [9,212 B]
Get:23 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 Packages [9,204 B]
Get:24 http://security.ubuntu.com/ubuntu zesty-security/universe Translation-en [7,188 B]
Get:25 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata [2,184 B]
Fetched 472 kB in 2min 3s (3,811 B/s)                                      
Reading package lists... Done

The target machine is updated with the required repositories. Install the sublime package and execute the following command. 

root@linuxhelp1:~# apt-get install sublime-text-installer
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  sublime-text-installer
0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
Need to get 9,566 B of archives.
After this operation, 26.6 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu zesty/main amd64 sublime-text-installer all 3126-2~webupd8~1 [9,566 B]
Fetched 9,566 B in 5s (1,630 B/s)                
Preconfiguring packages ...
Selecting previously unselected package sublime-text-installer.
(Reading database ... 168833 files and directories currently installed.)
Preparing to unpack .../sublime-text-installer_3126-2~webupd8~1_all.deb ...
Downloading...
--2017-05-04 07:01:34--  https://download.sublimetext.com/sublime_text_3_build_3126_x64.tar.bz2
Resolving download.sublimetext.com (download.sublimetext.com)... 104.236.0.104
Connecting to download.sublimetext.com (download.sublimetext.com)|104.236.0.104|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9313954 (8.9M) [application/octet-stream]
Saving to: ‘sublime_text_3_build_3126_x64.tar.bz2’
.
.
.
.
sublime_text_3/Icon/128x128/sublime-text.png
sublime_text_3/Icon/48x48/
sublime_text_3/Icon/48x48/sublime-text.png
sublime_text_3/Icon/256x256/
sublime_text_3/Icon/256x256/sublime-text.png
sublime_text_3/sublime.py
sublime_text_3/sublime_plugin.py
Unpacking sublime-text-installer (3126-2~webupd8~1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Setting up sublime-text-installer (3126-2~webupd8~1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...

The application is installed successfully. To open the installed package, type the package name in the ubuntu dashboard and click on the icon to run the application. 

dashboard

The application is running successfully. Now the user can use the application for various text editing purposes. 

sublime

Wasn't that an easy installation procedure? The Sublime text editor supports extensive customizability via JSON settings and also platform-specific settings. 


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Sublime Text Editor Ubuntu
user image Author :  John
user image
liambeckwoord 18-07-2017 at 02:08
thanx for your help