Sunday, November 5, 2017

How to install Sublime Text 3 on Lubuntu 17.10

How to install Sublime Text 3 on Lubuntu 17.10

Sublime text is one of the best text editor out there, sublime is not an open source software, therefore sublime text is not available on lubuntu/ubuntu respository, but don't worry i will guide you installing sublime text 3 on lubuntu 17.10 artful.

How to install Sublime Text 3 on Lubuntu 17.10
  • open command line/terminal on lubuntu
  • run update command 
  • sudo apt-get update
  • install apt-transport-https package
  • sudo apt-get install apt-transport-https
  • install GPG key for sublime text
  • wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
  • add sublime repository
  • echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
  • run update command again
  • sudo apt-get update
  • install sublime text 3
  • sudo apt-get install sublime-text
  • done!

Once installed you can open sublime text from lubuntu start menu > Programming > Sublime Text.


How to open Sublime Text from command line
You can also open sublime text from command line, simply run this:
subl
Of course you can also run it with sudo, if you are editing files under root directory
sudo subl


No comments:

Post a Comment