In this guide, we will show you how to install Atom Text Editor on Ubuntu and deb-based systems
Install Atom Text Editor
Follow the steps below to get started with Atom:
- Update your Ubuntu system packages with running the below command:
sudo apt update -y && sudo apt upgrade -y
- Atom editor package is not available on Ubuntu base repository. So now run the following command to add the Atom repository to your Ubuntu system:
- Then add the following:
deb [arch=amd64 signed-by=/usr/share/keyrings/atomeditor-keyring.gpg] https://packagecloud.io/AtomEditor/atom/any/ any main
- Then import the GPG key:
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/atomeditor-keyring.gpg
Install the latest version of Atom using the following command:
sudo apt update sudo apt install atom -y
- Verify the installation by checking the version of atom
Also you can install it with snapd manager:
Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users. Snaps are self-contained applications running in a sandbox with mediated access to the host system.
So, Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
- Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions, So install snap then install atom via snap manager as shown below
sudo apt update sudo apt install snapd sudo snap install atom --classic
- Access Atom through the command line by running the command
- Also you can search on the system search bar by typing Atom as follows
- Atom Editor will be launched as shown below
That’s it, I hope that was useful.