Sublime text editor is one of the popular text editor for code, markup and prose that's the line it says on it's
official website and most of the users believe the same.
So let's know how to install it on your Ubuntu Box.
I'm using Ubuntu 18.04 while writing this blog during installation.
Install the GPG key
# wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Make apt work using https also
# sudo apt-get install apt-transport-https
Select the channel to use ( Recommended Stable )
For Stable release use the below command.
# echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
For Development release use the below command.
# echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Update apt sources and install Sublime Text
# sudo apt-get update #
# sudo apt-get install sublime-text
To remove/uninstall sublime text editor use the below command
# sudo apt-get remove sublime-text && sudo apt-get autoremove #
Meanwhile you can anytime install it from Ubuntu Software Center, it's also enlisted there.
Official Installation Link :
Here