HowTo: Install GitHub's Atom On Linux Ubuntu

Acording to the official website:

Atom is a text editor that's modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file.

Atom is a free and open-source text and source code editor for macOS, Linux, and Microsoft Windows. In this post we are going to discuss the process of installing Atom on Ubuntu and Ubuntu based Linux distributions.

> Install using official package repository

The process of installing Atom from the official package repository is fairly simple. Open a terminal by pressing Ctrl + Alt + T and follow the steps given below:

Step 1:

Run the following command to add the package repository to your system:

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'

Step 2:

Update the package list to incorporate the new changes:

sudo apt-get update

Step 3:

Finally, to install Atom run:

sudo apt-get install atom

> Install using .deb package

Step 1:

Download the package by clicking here or running the following command in terminal

wget https://atom.io/download/deb

Before proceeding remember to change your working directory in terminal to the directory where the .deb package was dowloaded. Use the cd command to change directory.

Step 2:

Install the package using the dpkg command:

sudo dpkg -i atom-*.deb

Step 3:

Finally, to install any missing dependencies run:

sudo apt-get -f install

Atom has now been successfully installed on your system. Mention any further queries in the comments below. Next, learn how to install packages in Atom. If your are interested in Sublime Text or Visual Studio Code find the installation guide here and here respectively. A detailed post about ten best plugins to get you started with Atom are coming soon.

Show Comments