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.
Steps:
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:
alias python=python3
Each python script you write should also have the following as the first line:
#!/usr/bin/env python
You can source it for the current shell using:
. ~/.bashrc
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
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.