How to Install Sublime Text Editor on Ubuntu | Install Sublime Text Editor on Ubuntu quick tutorial

May 08, 2020

Hello, and welcome back to EFX Tv. Today we are going to install one of the most loved text editors in 2020. Today we are going to

Install Sublime Text Editor

As always we have to copy-paste come commands to get this done quickly.
Quick commands to install Sublime Text Editor?
How to write a basic HTML Code?
How to enable the Autocomplete feature?
How to install HTML5 in Sublime Text Editor?

Quick commands to install Sublime Text Editor?

The commands we are going to use is written below:-

sudo apt update
$ sudo apt upgrade
$ sudo apt install apt-transport-https ca-certificates curl software-properties-common
$ curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
$ sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install sublime-text
$ subl

What google says about Installing Sublime Text Editor.

How to write a basic HTML Code in Sublime Text Editor?

In order to write basic HTML code in Sublime Text Editor, you have to follow some steps. 
Create a folder name it HTML


Create a new file index.html
Open the terminal ctrl +t and type subl
Search for folder and file File
Open File (go to the directory where you have created the index.html and select it)
You can simply write basic HTML or you can use the auto-complete feature.

How to enable the Auto tag complition?

To enable the Auto tag complition feature in Sublime Text Editor
Click on View
Syntex
Select HTML.
Now you can create a basic HTML structure easily. Simply type <htm you will see the suggestion bellow the tag, select it using arrow up and down key and hit tab button. You can see the entire end to end HTML formate. Autocomplete helps you to write codes easily not only in HTML also in various languages like C, C++, CSS, etc.

How to install HTML5 in Sublime Text Editor?

Install HTML5 in Subl Text editor
Click on Tools
Click on Install Package
It will install a package control feature in Subl Text Editor.
Click on preferences
Package control
Install Package
Select Install Package
Type HTML5
Select the HTML5 from the suggestions
It will automatically install the HTML5 in Sublime Text Editor. Now you can write the HTML5 codes. Similarly, you can install CSS3.  Sublime Text Editor is one of the best text editor ever, please try it once. This was it for the day. I hope you like today's blog. See you in our next blog very soon.




Uk2blogger