Ask Your Question
0

Can not load RPM file:atom.x86_64.rpm on Fedora 24

asked 2016-10-31 09:17:14 -0500

Amine gravatar image

I want to install Atom on Fedora 24 but the problem is The rpm file can not loaded What can i do ?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
3

answered 2016-10-31 14:31:02 -0500

florian gravatar image

updated 2016-10-31 15:09:35 -0500

Do it as described here: https://fedoramagazine.org/install-at...

1.) download rpm file

2.) install it: dnf install ~/Downloads/atom.x86_64.rpm

edit flag offensive delete link more

Comments

1

You can also look for a COPR that provides a build of atom. You can use dnf search copr atom to find coprs that may provide it. (Or you use some search engines.

mosquito's copr seems to be up to date. All instructions how to enable a copr are given on the linked copr page.

Big advantage of using a COPR: You will get regular updates for your package via dnf (if copr is updated)

florian gravatar imageflorian ( 2016-11-01 10:17:37 -0500 )edit

i'm using the cop version mosquito/atom without trouble on f24/f25.

baoboa gravatar imagebaoboa ( 2016-12-13 10:18:32 -0500 )edit
2

answered 2016-12-12 15:28:25 -0500

BH2017 gravatar image

updated 2016-12-13 14:04:24 -0500

Atom is a fairly easy editor to install on Fedora. To install it merely run:

sudo dnf install -y $(curl -sL "https://api.github.com/repos/atom/atom/releases/latest" | grep "https.*atom.x86_64.rpm" | cut -d '"' -f 4)

This command will determine the latest stable Atom release, download its RPM package and install it with DNF. I have this code snippet in my ~/.bashrc file to check for Atom updates whenever I open up a terminal and install them if available:

ATOM_INSTALLED_VERSION=$(rpm -qi atom | grep "Version" |  cut -d ':' -f 2 | cut -d ' ' -f 2)
ATOM_LATEST_VERSION=$(curl -sL "https://api.github.com/repos/atom/atom/releases/latest" | grep -E "https.*atom-amd64.tar.gz" | cut -d '"' -f 4 | cut -d '/' -f 8 | sed 's/v//g')

if [[ $ATOM_INSTALLED_VERSION < $ATOM_LATEST_VERSION ]]; then
  sudo dnf install -y https://github.com/atom/atom/releases/download/v${ATOM_LATEST_VERSION}/atom.x86_64.rpm
fi

I also created an article on the Fedora Wiki about Atom.

edit flag offensive delete link more
0

answered 2016-10-31 12:46:07 -0500

sergiomb gravatar image

updated 2016-11-02 18:45:06 -0500

dnf install https://repo.fdzh.org/FZUG/free/24/x86_64/fzug-release-24-0.2.noarch.rpm
dnf config-manager --set-disable fzug-*
dnf --enablerepo=fzug-free --enablerepo=fzug-nonfree --enablerepo=fzug-testing install atom

fixed

edit flag offensive delete link more

Comments

Would it not be better to find the issue first? Atom should install fine from the RPM from their site. Or for a repo, why not copr over an entire repository? https://copr.fedorainfracloud.org/cop...

Eden gravatar imageEden ( 2016-10-31 14:20:16 -0500 )edit
1

Also, what if the person is using Fedora 24 (as the headline says)?

florian gravatar imageflorian ( 2016-11-01 10:21:33 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-10-31 09:17:14 -0500

Seen: 930 times

Last updated: Dec 13 '16