6/26/2018

Install sublime text 3 on ubuntu using console command

Open terminal (control + alt + T) and follow below command


...
1. run command to install the key
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -


2. add the apt repository via command
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list


3. install
sudo apt-get update
sudo apt-get install sublime-text


4. uninstall
sudo apt-get remove sublime-text && sudo apt-get autoremove

..

refer to this page : http://tipsonubuntu.com/2017/05/30/install-sublime-text-3-ubuntu-16-04-official-way/


Thank you.