How To Install Sublime Text Editor In Linux

To Install Sublime Text Editor In Linux

Sublime is a Cross platform text editor for code, markup and prose. Installation of Sublime editor is explained in this article.

Features

  • Quick navigation.
  • Quick keyboard invocation.
  • Simultaneous editing.
  • Python-based plugin API.
  • Project preferences
  • Customizability


To install the sublime text

Download the sublime text editor package by using the following command

[root@linuxhelp ~]# wget https://download.sublimetext.com/Sublime%20Text%202.0.2%20x64.tar.bz2
--2016-07-08 05:19:29--  https://download.sublimetext.com/Sublime%20Text%202.0.2%20x64.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: 5662968 (5.4M) [application/octet-stream]
Saving to: ‘ Sublime Text 2.0.2 x64.tar.bz2’ 

100%[========================================================================> ] 56,62,968   23.6KB/s   in 2m 3s  

2016-07-08 05:21:34 (44.8 KB/s) - ‘ Sublime Text 2.0.2 x64.tar.bz2’  saved [5662968/5662968]

Extract the downloaded package by using the following command.

[root@linuxhelp ~]# tar xf Sublime Text 2.0.2 x64.tar.bz2

Run the command to verify the extracted package.

[root@linuxhelp ~]# ls
anaconda-ks.cfg  Documents  initial-setup-ks.cfg  Pictures  Sublime Text 2                  Templates
Desktop          Downloads  Music                 Public    Sublime Text 2.0.2 x64.tar.bz2  Videos

Open the extracted directory and list it.

[root@linuxhelp ~]# cd Sublime Text 2/
[root@linuxhelp Sublime Text 2]# ls
Icon  lib  PackageSetup.py  Pristine Packages  sublime_plugin.py  sublime_text


To Launch the sublime text

Run the following command to Launch the sublime text.

[root@linuxhelp Sublime Text 2]# ./sublime_text

FAQ
Q
Can I Change the Behavior of the Bottom Panel?
A
The hiding behavior of the SFTP output panel can be changed via the hide_output_panel setting.
Q
How do I change the font?
A
Add these lines to Preferences/User File Preferences:
"font_face": "Courier New",
"font_size": 10
and then change as desired. The font will change when you save.
Q
Is Sublime Text 3 Supported?
A
Yes, the current version of SFTP supports Sublime Text 3!
Q
Can Sublime Text be run from a USB key?
A
Yes. Sublime Text may be installed to any location, however, it will read and write your settings to %APPDATA%\Sublime Text. You can change this to use a directory on the USB key, by running Sublime Text with the --data flag, for example:

SublimeText.exe --data "E:\Sublime Text Data"
Q
What is sublime text Editor?
A
Sublime is a Cross-platform text editor for code, markup, and prose.