How To Install Atom Text Editor On Ubuntu

To create, edit or manage either text based files or coding files you need to have a versatile text editor like atom. This open-source text editor has many customisation options and is compatible with a wide range of tools and programming languages. Atom text editor has a large library of plugins which can greatly contribute to extend its functionality. To use Atom on Ubuntu, there are several ways to install it like using its deb file or using the Flatpak app installer.

4 Ways to Install Atom On Ubuntu

One of the key features that atom text editor comes with is you can split its window in multiple panes that will allow you to work on multiple files simultaneously. Not only that, there is a teletype feature in Atom that gives the leverage to its users for sharing the code file and editing them together. To install Atom text editor on Ubuntu, there are four ways and this post will elaborate all of them:

1: Through Atom Text Editor Deb File

Installing applications on Ubuntu and other Debian based systems via their deb file can be beneficial in multiple ways. One of the prime benefit of it is that you can get the latest version so in case of atom text editor you can download its deb file from GitHub:

Downloading Atom deb file from GitHub

Alternatively, you can also use the below command to download the atom deb file via command line:

wget https://github.com/atom/atom/releases/download/v1.60.0/atom-amd64.deb

Downloading atom deb file on Ubuntu using terminal

Next, use the apt package manager to install atom on Ubuntu via its deb file by executing the below command:

sudo apt install ./atom-amd64.deb

Installing Atom text editor using its deb file on Ubuntu

To launch atom installed via deb file, search for it in the Ubuntu apps menu:

Launching Atom on Ubuntu

2: Through Atom Tar File

The second method for installing Atom is using its tar file which is feasible for those users who are looking for its pre-installed or plug and play version. First you need to do is to download atom text editor tar file from GitHub:

Downloading atom text editor tar file from GitHub on Ubuntu

Once the file is downloaded extract the atom tar file using the tar utility by running the below command:

sudo tar -xf atom-amd64.tar.gz

Extracting atom tar file in Ubuntu

Once the file is extracted, navigate to the atom directory and make the atom file executable for the current user by using the below command:

sudo chmod u+x atom

Making atom file executable in Ubuntu

Next, execute the atom file to launch this text editor by running the below command:

sudo ./atom --no-sandbox

Launching Atom text editor on Ubuntu uisng it tar file

Now instead of navigating to the file directory every time or using the path along with the file name can be tiresome. So in that case you can create Atom desktop launcher or icon which can ease the app launching process, so first create atom.desktop file by using the below command:

sudo nano /usr/share/applications/atom.desktop

Next, use the below code syntax and place it in the atom.desktop file, here you need to update the path for atom executable file and its icon image file:

[Desktop Entry]
Name=Atom
Exec=[path-for-atom-text-editor-executable-file]
Icon=[path-for-atom-logo-image]
Comment=communcation
Type=Application
Terminal=false
Encoding=UTF-8
Categories=Utility;

Once you have placed the atom desktop application code as in the image below, then save the file and close it:

Creating atom desktop launcher by creating atom.desktop file in Ubuntu

Now when you search for atom in the apps menu you will see its desktop icon, which you can pin to the task bar for more quick access:

Atom desktop icon on Ubuntu for using it via tar file

3: Through Flatpak App Installer

The third method to install Atom on Ubuntu is using the flatpak app installer, which is one of the widely used third party package installers after Snap package manager. To install Atom text editor via flatpak or flathub repository execute:

flatpak install flathub io.atom.Atom

installing Atom text editor on Ubuntu using Flatpak app installer

To launch Atom installed via flatpak app installer on Ubuntu run the following command:

flatpak run io.atom.Atom

Launching Atom text editor on Ubuntu installed via flatpak

4: Through Gdebi Package Installer (GUI)

If you are looking for GUI method for installing atom text editor, then use the GDebi package installer, first download the deb file for Atom and the open it with Gdebi:

Opening Atom deb file using GDebi package installer on Ubuntu

Now click on the Install Package option to proceed with installation once the deb file is loaded in GDebi package manager:

Installing atom text editor on Ubuntu using GDebi package installer

Note: While looking for installation methods to install Atom text editor on Ubuntu keep in mind that some blogs have written about using the PPA, Atom official repository or using the Snap app installer but all these methods are deprecated, and you cannot use any of them.

Conclusion

This guide discussed four ways to install Atom text editor on Ubuntu these four methods include using atom text editor deb file, tar file or using the Flatpak app installer and GDebi app installer. The recommended method among the three is using the deb file, however if you are looking for the pre-installed or plug and play version of atom then use its tar file.

 

Index
Scroll to Top