How to install and update sublime text in ubuntu from the command line

To install sub­lime text 3 do the following

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

To upgrade sub­lime text 3, do the following

sudo apt-get update
sudo apt-get install --only-upgrade sublime-text-installer

Ref­er­ences
http://www.ubuntuupdates.org/ppa/sublime_text_3
http://askubuntu.com/questions/44122/how-to-upgrade-a-single-package-using-apt-get

Ryan Sukale

Ryan is a UX engineer living in San Francisco, California.

You may also like...

  • FreeeS7YL3R

    Thank you for good tip 🙂