Published March 29, 2018 by

Install Sublime Text 3 in Linux

The popular cross-platform Sublime Text editor finally offers official Linux apt repository to make it easy to install and receive an update in Ubuntu.

Sublime Text is a proprietary source code editor with a Python API. It supports many programming languages and markup languages, and its functionality can be extended by users with plugins.

It’s available to download and use for free, but you’re supposed to buy a license if you plan on using it full-time.

Install Sublime Text in Ubuntu

wget -qO - | sudo apt-key add -

sudo apt-get install apt-transport-https

echo "deb apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

sudo apt-get update

sudo apt-get install sublime-text

Now we can run sublime from an application menu.

Install Sublime Text in Centos/RHEL

# sudo rpm -v --import
# sudo yum-config-manager --add-repo 
# sudo yum install sublime-text 

Run Sublime-Text on a terminal



sudo apt-get remove sublime-text                       # for ubuntu
sudo apt-get autoremove

sudo yum remove sublime-text                           # for centos
sudo yum autoremove