Page 1 of 1

How to Install - Atom Text Editor in Mageia 7

PostPosted: Aug 26th, '19, 20:12
by jeevanism
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