How to Install Atom Text Editor on Fedora 36 Linux

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, integrate debuggers, runtime environments, video and music player controls, and much more.

In the following tutorial, you will learn how to install the latest version of Atom Text Editor on Fedora 36 Workstation desktop by importing the official gpg key and repository and installing one of three different versions in Atom stable, beta and nightly for those that love to live on the bleeding edge using the command-line terminal.

Import GPG Key & Atom Repository

Atom Text Editor is not available in the default Fedora 36 repository. To install Atom, you must add the source repository and the GPG key to verify the packages.

On a good note, importing the source repository will mean you will always have the latest stable version of Atom.

First, import the GPG key with the following command:

sudo rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey

Next, import the source repository.

sudo sh -c 'echo -e "[Atom]\nname=Atom Editor\nbaseurl=https://packagecloud.io/AtomEditor/atom/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/yum.repos.d/atom.repo'

Install Atom Text Editor

With the source repository sorted and imported, you can begin the installation. Atom Text Editor can be installed in three ways with either stable, beta, or nightly branches available.

Install Atom Text Editor Stable

sudo dnf install atom -y

Once installed, confirm the installation and build version as follows.

atom --version

Example output:

How to Install Atom Text Editor on Fedora 36 Linux

Install Atom Text Editor Beta

Alternatively, you may want to install the beta branch of the text editor.

Warning, you can only have one installation of Atom, so if you have installed the stable or nightly installed, you will need to remove it beforehand.

In your terminal, execute the following command.

sudo dnf install atom-beta -y

Once installed, confirm the installation and build version as follows.

atom-beta --version

Example output:

How to Install Atom Text Editor on Fedora 36 Linux

Install Atom Text Editor Nightly

Lastly, you may want to install the nightly branch of the text editor, which is bleeding edge, but often can be unstable.

Warning, you can only have one installation of Atom, so if you have installed the stable or beta installed, you will need to remove it beforehand.

In your terminal, execute the following command.

sudo dnf install atom-nightly -y

Once installed, confirm the installation and build version as follows.

atom-nightly --version

Example output:

How to Install Atom Text Editor on Fedora 36 Linux

How to Launch Atom Text Editor

With the installation complete, you can run Atom in a few different ways. First, while you are in your terminal, you can use the following command.

atom

Alternatively, run the atom & command in the background to free up the terminal:

atom &

However, this is not practical, and you would use the following path on your desktop to open it.

Activities > Show Applications > Atom <– Stable, Beta and Nightly have different icons.

Example:

How to Install Atom Text Editor on Fedora 36 Linux

Next, open the application and arrive at the default landing application screen.

Example:

How to Install Atom Text Editor on Fedora 36 Linux

Congratulations, you have successfully installed Atom.

How to Update/Upgrade Atom Text Editor

All updates for Atom will be done through the DNF upgrade command, including any other Fedora DNF packages.

Example:

sudo dnf upgrade --refresh

This should be run as often as possible to keep your system updated.

How to Remove (Uninstall) Atom Text Editor

Removing the application is relatively straightforward for users who no longer wish to have Atom installed on their desktop.

In your terminal, execute the following command that matches your installed version.

Remove Atom Stable

sudo dnf autoremove atom -y

Remove Atom Beta

sudo dnf autoremove atom-beta -y

Remove Atom Nightly

sudo dnf autoremove atom-nightly -y

This will remove all unused dependencies that were initially installed along with the application.

Remove the repository as follows for users who will no longer re-install Atom Text Editor.

sudo rm /etc/yum.repos.d/atom*

Comments and Conclusion

In the tutorial, you have learned how to import the source repository for Atom and install the text editor using the dnf package manager on your Fedora 36 workstation desktop.

If you are looking for a powerful, fast, and customizable text editor for your next web development project, then Atom is the right tool. It may not have all of the Sublime Text’s features, but it is enough for most users. And with its growing popularity in the development community, there is sure to be a plugin or two out there to help you get the job done. Give Atom a try on your next project and see how you like it!

For more information, visit the official documentation.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!