How to install Sublime text editor 3.1.1 in Ubuntu 18.04
To install Sublime Text Editor 3.1.1 in Ubuntu 18.04
The 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 how to install the Sublime text editor in Ubuntu.
Installation
Let' s first add the key file for Sublime text editor by making use of the following command.
root@linuxhelp1:~# wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
OK
And then, proceed to add the repository which contains sublime text package.
root@linuxhelp1:~# apt-add-repository " deb https://download.sublimetext.com/ apt/stable/"
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:5 https://download.sublimetext.com apt/stable/ InRelease [2,562 B]
Get:6 https://download.sublimetext.com apt/stable/ Packages [725 B]
Fetched 3,287 B in 1s (2,419 B/s)
Reading package lists... Done
Now you can proceed to install the sublime text using the following command.
root@linuxhelp1:~# apt-get install sublime-text -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap
Use ' sudo apt autoremove' to remove them.
The following NEW packages will be installed:
.
.
Selecting previously unselected package sublime-text.
(Reading database ... 167405 files and directories currently installed.)
Preparing to unpack .../sublime-text_3176_amd64.deb ...
Unpacking sublime-text (3176) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up sublime-text (3176) ...
After installation, you can access the application from the menu.
You can verify the version by navigating to help menu.
With this, the method to install Sublime text editor 3.1.1 in Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available