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/itcloudne...
Website :- http://www.cloudnetwork.in
Facebook :- / itcloudnetwork
Twitter :- / itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- / itcloudnet
Google+ :- https://plus.google.com/u/0/107923552...
Skype Id :- cloud.network1
E-Mail Id :- [email protected]
####----------------------------------------------------------------------------------------####
Thanking You
Hope U Like it........
Watch video How to Configure ‘DNF’ Fork of Yum 27 Commands for RPM Package Management in Fedora 22 & CentOS 7 online without registration, duration hours minute second in high quality. This video was added by user Cloud Network 28 May 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,596 once and liked it 4 people.