Friday, September 16, 2016

How to install Atom editor on Lubuntu 16.04

Besides sublime, atom text editor is also one of the most famous text editor for programmers specially web developer, in this post i will show you how to install atom text editor on lubuntu 16.04 xenial xerus.

Atom text editor despite it's a free software and developed by github, atom does not exist on default lubuntu/ubuntu repository. There are two ways to install atom, first you can go to, download the debian package of atom and install it.

The second way is adding PPA repository for atom text editor and then install using apt-get command like most programs on lubuntu/ubuntu.

Step by step how to install atom text editor on lubuntu 16.04
  • open command line and then run this

  • sudo add-apt-repository ppa:webupd8team/atom
  • run apt-get update to update your repo list

  • sudo apt-get update
  • finally install atom

  • sudo apt-get install atom
  • that's it

Atom text editor should appear on your lubuntu start menu > Programming > Atom. If you want to edit files under root directory then you need to run atom with sudo, otherwise you'll get permission denied error when you try to save the edited files. 

Remember you can run atom from command line, simply run 'sudo atom' from command line and you are good to go.