Atom is an extraordinary, free and open source text editor. It comes with many features you need to edit any text or even build your programs, web application in several languages. You can use Atom to write your code in PHP, Shell Script, HTML, Python and many more. This tutorial is going to show you how to install Atom on Debian 9 Stretch.
Steps to Install Atom on Debian 9 Stretch
Step 1. Configure Atom repository on Debian 9
Atom is available through repository. We need to configure it on Debian first. Open Terminal and then paste the following commands one by one.
su apt install curl 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' apt update
Step 2. Install Atom
Once we complete the repository setup, now execute this command to install atom on Debian 9.
apt install atom
In case the above steps failed, you can download the Atom DEB package from this link. And then install the deb package with this command
su dpkg -i atom-amd64.deb
apt-get -f install
Now run Atom