Can not load RPM file:atom.x86_64.rpm on Fedora 24
I want to install Atom on Fedora 24 but the problem is The rpm file can not loaded What can i do ?
I want to install Atom on Fedora 24 but the problem is The rpm file can not loaded What can i do ?
Do it as described here: https://fedoramagazine.org/install-at...
1.) download rpm file
2.) install it: dnf install ~/Downloads/atom.x86_64.rpm
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)
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.
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
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...
Asked: 2016-10-31 09:17:14 -0600
Seen: 1,813 times
Last updated: Dec 13 '16