How to Install Atom Text Editor on Debian 11 Bullseye


Atom is a free and open-source text and source code editor that supports many cross-platforms such as macOS, Linux, and Microsoft Windows with support for plug-ins written in JavaScript and embedded Git Control, developed by GitHub. The catchphrase that Atom calls itself is the “hackable text editor for the 21st century”. Atom, compared to competitors, is more user-friendly, with plenty of options for extensions to add syntax highlighting for languages and formats, add dynamic linting, and integrate debuggers, runtime environments, video and music player controls, and much more.

One feature that separates Atom from most other text editors is that it can be easily customized to fit anyone’s needs since it is built on Electron – which allows for creating cross-platform desktop applications using web technologies. In addition, Atom is also hackable to its core, meaning that users can change any aspect of the text editor to tailor it to their workflow. Finally, GitHub – the company behind Atom – is constantly adding new features and improvements to the text editor, making Atom one of the best text editors available today.

The following tutorial will teach you how to install Atom Text Editor on Debian 11 Bullseye using the command line terminal, and optional version builds of stable, beta, and nightly versions.

Update Debian

First, update your system to ensure all existing packages are up to date. This will ensure no conflicts arise as best as possible during the installation.

sudo apt update && sudo apt upgrade -y

Install Dependencies

To complete the installation, you will need to install the following software packages using the following command in your terminal.

Advertisement


sudo apt install curl libcanberra-gtk-module dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y

If unsure, run the command; it will not harm you.

See also  How to Install VSCodium on Debian 11/10

These are the most common software packages found on nearly all Linux distributions.

Import Atom Text Edit GPG Key & Repository

Import GPG Key

In the first step, you will need to download the GPG key.

curl -fsSL https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/atom.gpg > /dev/null

Next, import the repository using the following command.

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/atom.gpg] https://packagecloud.io/AtomEditor/atom/any/ any main" | sudo tee /etc/apt/sources.list.d/atom.list

Now update your repository list to reflect the new repository changes:

sudo apt update

Install Atom Text Editor

Install Atom Text Editor Stable

Once you have imported the repository, you can install Atom Text Editor using the following.

Advertisement


sudo apt install atom -y

Confirm the installation and version build with the following command.

atom --version

Install Atom Text Editor Beta

For most users, installing the beta is to see the upcoming release for stable; this is often recommended before nightly.

sudo apt install atom-beta -y

Confirm the installation and version build with the following command.

atom-beta --version

Install Atom Text Editor Nightly

The Atom nightly is available for those who do not mind using the development branch. This is the most advanced version available but beware, this will likely be unstable and contain bugs even to break, be sure to install stable to fall back to.

sudo apt install atom-nightly -y

Confirm the installation and version build with the following command.

atom-nightly --version

Note that you can install both the stable, beta, and nightly text editors.

Advertisement


How to Launch Atom Text Editor

With the installation complete, you can run Atom in a few different ways.

Remember to replace the atom example with atom-beta or atom-nightly for the terminal launch command.

atom

However, this isn’t practical, and you would use the following path on your desktop.

Activities > Show Applications > Atom.

Example:

How to Install Atom Text Editor on Debian 11 Bullseye

The first time you open Atom Text Editor, you will see the following.

Advertisement


Example:

How to Install Atom Text Editor on Debian 11 Bullseye

How to Update Atom Text Editor

Updating can be done using the terminal. Run the APT update command in your terminal, as you would check your entire system for any updates.

sudo apt update

If one is available, use the upgrade option:

sudo apt upgrade

Desktop users would receive notices about updating packages, but I recommend running the terminal commands often to ensure all updates are occurring and installed.

See also  How to Enable Backports on Debian Linux 11/10

How to Remove (Uninstall) Atom Text Editor

To remove text editors, use the following command; remember, this is the same command for both stable and unstable versions.

Remove Atom Stable

sudo apt autoremove atom -y

Remove Atom Beta

sudo apt autoremove atom-beta -y

Remove Atom Nightly

sudo apt autoremove atom-nightly -y

Note unused dependencies will also be removed.

Advertisement


Next, use the following command for users who want to remove Atom Text Editor altogether.

sudo rm /etc/apt/sources.list.d/atom*.list

Finally, delete the GPG key.

sudo rm /usr/share/keyrings/atom*.gpg

Comments and Conclusion

If you’re looking for a user-friendly text editor with plenty of customization options, Atom is a perfect choice. With support for extensions that add syntax highlighting, linting, and more, Atom can be easily tailored to fit your specific needs. And thanks to its built-in Electron foundation, Atom runs on Windows and macOS, making it the perfect choice for any developer working on multiple platforms besides Debian or Linux.

For more information on Atom, visit the official documentation.


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment