Friday, June 15, 2018

How to install Sublime Text on Lubuntu 18.04


If you are a web developer and you need a text editor, you can try sublime, sublime is one of the best text editor for web developer. In this article i'm going to show you how to install sublime text on lubuntu 18.04.

How to install Sublime Text 3 on Lubuntu 18.04
  • open command line/terminal on lubuntu by pressing CTRL + ALT + T
  • 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!

You can run sublime from GUI or you can also run sublime text from command line simply by typing subl or sudo subl like this:

subl
sudo subl


No comments:

Post a Comment