How to Install - Atom Text Editor in Mageia 7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

How to Install - Atom Text Editor in Mageia 7

Postby jeevanism » Aug 26th, '19, 20:12

Hello,

I tried to install Atom Text editor in Mageia 7 and met some issues but made a workaround. The steps to install as below

go tohttps://flight-manual.atom.io/getting-started/sections/installing-atom/ and follow commands for Red Hat and CentOS (YUM), or Fedora (DNF)

Code: Select all
# rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey
# 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'
and

# dnf install atom


now, you may get an error like this :
Code: Select all
Error: Transaction check error:
  file /usr/bin/apm from install of atom-1.40.1-0.1.x86_64 conflicts with file from package apmd-3.2.2-37.mga7.x86_64

If you get this error which means, there is a package named apmd ( Advanced Power Management (APM) BIOS utilities for laptops ) which no more usable / valid for modern Laptops because we use UEFI instead of BIOS. So its safe to remove this apmd. The fun fact is this apmd meet this conflict with Atom package only because of its name but there is no connection with features of two. So once you remove apmd
Code: Select all
# dnf remove apmd


you can now run

Code: Select all
# dnf install atom
Last edited by doktor5000 on Aug 30th, '19, 23:24, edited 1 time in total.
Reason: added code tags
jeevanism
 
Posts: 27
Joined: Sep 1st, '12, 05:28

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest