LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-24-2018, 07:34 AM   #1
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Rep: Reputation: 28
dnf/yum


i believe this is an easy question but i am just not sure what to search on google to find the answer and i am not sure how to do it otherwise but what i would like to do is simple. i am using fedora for my pcs and had fedora as my server but i am having such issues with 27 i am switching to centos. centos uses yum and fedora uses dnf. basically i want when i type dnf in centos for it to just translate that to yum because every damn time i am installing something i type dnf... and then have to retype yum...
 
Old 03-24-2018, 08:57 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,751

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
I believe dnf is in the epel repository. Enable epel, install dnf.
 
Old 03-24-2018, 09:17 AM   #3
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Original Poster
Rep: Reputation: 28
there is no dnf in the epel repository, at least not under yum install dnf or yum list "dnf*"...
 
Old 03-24-2018, 09:26 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
DNF or `Dandified yum´ : is the next generation version of yum
https://fedoraproject.org/wiki/DNF?rd=Dnf

CentOS 6 : Based on Fedora 12 → yum
CentOS 7 : Based on Fedora 18, 19, 20 → yum
CentOS 8 will have `dnf´.

-
 
Old 03-24-2018, 09:29 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,751

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
Sorry, after a little more searching I discovered that it was removed from epel due to problems. Have you tried using an alias?

Use at your own risk. Don't know if it will break anything.
https://centos.pkgs.org/7/puias-unsu...oarch.rpm.html
 
Old 03-24-2018, 09:35 AM   #6
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Original Poster
Rep: Reputation: 28
oh yeah, i bet an alias would work. i am going to try that...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DNF (Dandified yum), the next generation of yum package manager (Fork of Yum) for Fedora system LXer Syndicated Linux News 0 08-07-2016 05:12 PM
[SOLVED] dnf plug-in instead of yum mtdew3q Fedora 11 02-12-2016 04:21 PM
Creating dieskless filesystem using DNF/YUM niteshadw Fedora 1 08-26-2015 09:10 PM
Fedora 22 will use DNF instead of yum szboardstretcher Fedora 17 07-27-2015 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration