How to Configure ‘DNF’ Fork of Yum 27 Commands for RPM Package Management in Fedora 22 & CentOS 7
Hello Everyone,
In this tutorial,
Let Us Configure ‘DNF’ Fork of Yum 27 Commands for RPM Package Management in Redhat Linux 7 & CentOS 7
Installation of DNF
To install DNF on RHEL/CentOS systems, you need to first install and enable epel-release repository.
Step 1 :- yum install epel-release OR yum install epel-release –y
Install DNS package using yum command from epel-release repository.
Step 2 :- yum install dnf
Check DNF Version
Step 3 :- dnf --version
List Enabled DNF Repositories
Step 4 :- dnf repolist
List all Enabled and Disabled DNF Repositories
Step 5 :- dnf repolist all
List all Available Packages using DNF
Step 6 :- dnf list available
Search for a Package using DNF
Step 7 :- dnf search nano
See what Provides a file/sub-package?
Step 8 :- dnf provides /bin/bash
Get Details of a Package using DNF
Step 9 :- dnf info nano
Install a Package with DNF
Step 10 :- dnf install nano
Updating a Package using DNF
Step 11 :- dnf update systemd
Check for System Updates using DNF
Step 12 :- dnf check-update
Update All System Packages using DNF
Step 13 :- dnf update OR dnf upgrade
Remove/Erase a Package using DNF
Step 14 :- dnf remove nano OR dnf erase nano
Remove Orphan Packages using DNF
Step 15 :- dnf autoremove
Remove Cached Packages using DNF
Step 15 :- dnf clean all
Get Help on Specific DNF Command
Step 16 :- dnf help clean
List all DNF Commands and Options
Step 17 :- dnf help
View History of DNF
Step 18 :- dnf history
List all Group Packages
Step 19 :- dnf grouplist
Install a Group Package using DNF
Step 16 :- dnf groupinstall 'Educational Software‘
Update a Group Package
Step 17 :- dnf groupupdate 'Educational Software‘
Remove a Group Package
Step 18 :- dnf groupremove 'Educational Software‘
Install a Package from Specific Repository
Step 19 :- dnf --enablerepo=epel install phpmyadmin
Synchronize Installed Packages to Stable Release
Step 20 :- dnf distro-sync
List all Available and Installed Packages using DNF
Step 21 :- dnf list
List all Installed Packages using DNF
Step 22 :- dnf list installed
Reinstall a Package
Step 23 :- dnf reinstall nano
Downgrade a Package
Step 24 :- dnf downgrade acpid
NOTE :- For Any Clarification Please Below
Comment,
Like and
Share us and help us to spread.
####--------------------------------------------------------------------------------------####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itCloudNetwork/
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####----------------------------------------------------------------------------------------####
Thanking You
Hope U Like it........
Other Videos By Cloud Network
Other Statistics
Duke Nukem Forever Statistics For Cloud Network
Cloud Network presently has 2,588 views for Duke Nukem Forever across 1 video, with his channel publishing less than an hour of Duke Nukem Forever content. This makes up less than 0.25% of the total overall content on Cloud Network's YouTube channel.