Atom editor seems to be the most popular Editor out there, and seems to be more of a following than Sublime text which is a paid alternative (nagware).
To install the latest Atom editor on Ubuntu 17.10 artful, and to keep it updated, you need to import keys, and the repository for Atom editor. In this way, each time Atom editor gets updated, or you upgrade your OS from Ubuntu 17.10 artful, you can still get the latest Atom text editor.
curl -L https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list' sudo apt-get update sudo apt-get install atom
If you need the beta version:
sudo apt-get install atom-beta
How to use python3 by default:
You probably want to use python3 for your scripts. So, once installed, you may need to add the following alias in ~/.bashrc:
Each python script you write should also have the following as the first line:
You can source it for the current shell using:
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.