3 Ways to Install Atom Text Editor in openSUSE

Atom is a free, open-source, hackable, easy to customize and cross-platform text editor, that works on Linux, OS X, and Windows. It is a desktop application built with HTML, JavaScript, CSS, and Node.js integration and comes with a built-in package manager and file system browser.

It also features smart auto-completion, multiple panes, and find & replace functionality. Atom also supports teletype, which allows developers to work together (share workspace and edit code together in real time).

In addition, an atom is integrated with Git and GitHub using the GitHub package. It also comes pre-installed with four UI (user interface) and eight syntax themes in both dark and light colors.

In this article, we will describe three different ways to install Atom text editor in OpenSuse Linux.

Installing Atom Using RPM Package on openSUSE

To get started with Atom, first, you need to install it on your system. The following instructions show how to install Atom on your system using a binary RPM package, as well as shows the basics on how to install and build it from sources.

First, go to the atom project website and download the RPM package or use the following wget command to download it directly on the terminal.

$ wget -c https://atom.io/download/rpm -O atom.x86_64.rpm

Once the download is complete, install the package using the following zypper command.

$ sudo zypper install atom.x86_64.rpm

After successfully installing Atom, search for it in the application menu and open it.

Installing Atom Using Package Manager in OpenSuse

You can also install Atom on openSusue using Zypper package manager by configuring official package repositories. This will allow you to update Atom when new versions are released.

$ sudo sh -c 'echo -e "[Atom]\nname=Atom Editor\nbaseurl=https://packagecloud.io/AtomEditor/atom/el/7/\$basearch\nenabled=1\ntype=rpm-md\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/zypp/repos.d/atom.repo'
$ sudo zypper --gpg-auto-import-keys refresh
$ sudo zypper install atom
$ sudo zypper install atom-beta  [Install Atom Beta]

Installing Atom from Sources in OpenSuse

To install and build Atom from sources, first you need to install following dependencies as shown.

$ sudo zypper install nodejs nodejs-devel make gcc gcc-c++ glibc-devel git-core libsecret-devel rpmdevtools libX11-devel libxkbfile-devel
$ sudo zypper addrepo http://download.opensuse.org/repositories/devel:languages:nodejs/openSUSE_Tumbleweed/devel:languages:nodejs.repo
$ sudo zypper refresh
$ sudo zypper install nodejs
$ sudo npm config set python /usr/bin/python2 -g

Next clone the atom repository to your local machine and then navigate into the atom source code directory and run the bootstrap script to install all the needed dependencies.

$ git clone [email protected]:your-username/atom.git
$ cd atom
$ script/build
$ sudo script/grunt install

Now create an atom.desktop file.

$ ~/.local/share/applications/atom.desktop

Add the following contents in it.

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Atom
Comment=Atom editor by GitHub
Exec=/usr/local/bin/atom
Icon=/home/cg/.atom/atom.png
Terminal=false

Now you are ready to start using Atom. The following screenshots show Atom text editor in use.

Atom Text Editor in OpenSuse
Atom Text Editor in OpenSuse
Coding in Atom Editor
Coding in Atom Editor

How to Install Packages in Atom Editor

In this section, we will briefly look at how to install Atom packages. For example, to start collaborating with your colleagues, you need to install the teletype package. Go to Edit=>Preferences under Settings, click on Install.

Then search for the package and click the Install button once it appears in the search results. You can also install the GitHub package in the same way.

Install Packages in Atom
Install Packages in Atom

Atom project Homepage: https://atom.io/

Atom is an open source, hackable, easy to customize and cross-platform text editor. In this article, we have explained three methods to install Atom text editor in openSUSE Linux. For any comments or questions, use the feedback form below.

Two small things before you go

If something didn’t work on your setup, leave a comment and tell me which distro and version you’re on. I read every one, and most of these articles got better because a reader pointed out what was missing.

And if it did work, share it. TecMint has stayed free for 14 years because people pass these articles around, and that traffic is what pays for writing the next one.

Leave a comment
Get two free Linux courses

Learn the Linux basics with two free courses and join 34,000+ readers getting practical TecMint tutorials and selected Pro TecMint articles every week.

Pro TecMint
Get lifetime access for $99

If you want to go beyond the free tutorials, Pro gives you 18 courses, 5 ebooks, and every future course I add. One payment, lifetime access, no renewals.

Ravi Saive
Ravi Saive
Administrator
About the author

I'm Ravi Saive, an award-winning entrepreneur and founder of several successful 5-figure online businesses, including TecMint.com, GeeksMint.com, UbuntuMint.com, and the premium learning hub Pro.Tecmint.com.

1 Comment

Leave a Reply
  1. There is a typo in install from OpenSuse repos.

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

    Should be ...el/7/\$basearch\...

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.