How to install Sublime Text 2/3 on Ubuntu 16.04

Sublime Text  is a cross-platform text editor. Often used as a source code editor. Sublime Text supports a large number of programming languages ​​and has syntax highlighting for C, C ++, C #, CSS, D, Dylan, Erlang, HTML, Groovy, Haskell, Java, JavaScript, LaTeX, Lisp, Lua, Markdown, MATLAB, OCaml, Perl , PHP, Python, R, Ruby, SQL, TCL and XML. In addition to the programming languages ​​included in the original package, users have the option to download add-ons to support additional languages. It also supports plugins in the Python programming language. Sublime Text is a popular text editor installed on such popular operating systems as Windows, Linux, Mac OS X.

So, let’s proceed directly to the installation of the program.

Let’s consider two installation options.

Option 1:

You can download the installation file from the official website using the Ubuntu terminal. Launch the terminal Ctrl + Alt + T. And use the following command to download and install the stable version of Sublime Text 2. Select the system bit and proceed with the installation.

32 bit:

wget http : // \ Text \ 2.0.2.tar.bz2

tar vxjf Sublime \ Text \ 2.0 . 2 . tar . bz2


wget http : // \ Text \ 2.0.2 \ x64.tar.bz2

tar vxjf Sublime \ Text \ 2.0 . 2 \ x64. tar . bz2

Option 2:

Use the repository from the WebUpd8 team. Thanks to the WebUpd8 Team, an installer was made to a PPA that automatically downloads the stable or beta version of Sublime Text from the official site and install it on your system. The following describes how to install Sublime Text 2 and Sublime Text 3 on Ubuntu 14.04 LTS using a PPA repository using the Ubuntu terminal.

We launch the terminal, this is done with the combination of the following keys Ctrl + Alt + T. In the terminal window, enter the following commands to install the desired version:

Installing Sublime Text 2

Add the Sublime Text 2 Ubuntu PPA repository, enter the following command in the terminal:

sudo add-apt-repository ppa: webupd8team / sublime-text- 2

We update the system:

sudo apt-get update

Then we install Sublime Text 2:

sudo apt-get install sublime-text

The sublime-text-installer package will automatically download the latest editor and install it.

Installing Sublime Text 3

We also add the Sublime Text 3 repository:

sudo add-apt-repository ppa: webupd8team / sublime-text- 3

Then we update the system:

sudo apt-get update

Install Sublime Text 3:

sudo apt-get install sublime-text-installer

The sublime-text-installer package will automatically download the latest editor and install it.

Launch Sublime Text.

Launch the terminal by pressing the Ctrl + Alt + T key combination. And write the following command:

sudo subl

Sublime Text will launch. I wish you success in your creativity.

Removing Sublime Text

Using Ubuntu Software Center:

Launch Ubuntu Software Center, enter the name of our program in the search bar – Sublime Text. Next, click ‘remove’.

Using the Ubuntu terminal.

Launch the terminal and enter the command:

sudo apt-get purge sublime-text-installer

This command will remove Sublime Text from your computer.

by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment