JavaScript must be enabled in order for you to see "WP Copy Data Protect" effect. However, it seems JavaScript is either disabled or not supported by your browser. To see full result of "WP Copy Data Protector", enable JavaScript by changing your browser options, then try again.

Introduce the usage of DNF on the Fedora 22 x64


It’s time to post a rubbish! I heard the news about replacing yum with the dnf, but don’t have time to try it. DNF aka Dandified YUM is a next generation Package Manager for RPM based Distribution. It’s be applied in the Fedora 22 x64, but not in RHEL and CentOS, but you can try it through additional installation. How do we use it? Let’s keep reading:

1) Basic command of DNF is about checking information
#dnf --version
1.0.0
Installed: dnf-0:1.0.0-1.fc22.noarch at 2015-08-23 07:43
Built : Fedora Project at 2015-05-02 13:00
Installed: rpm-0:4.12.0.1-9.fc22.x86_64 at 2015-08-23 07:43
Built : Fedora Project at 2015-04-15 09:21
#dnf repolist
Fedora 22 - x86_64 594 kB/s | 41 MB 01:11
Fedora 22 - x86_64 - Updates 543 kB/s | 13 MB 00:25
Last metadata expiration check performed 0:00:06 ago on Sun Aug 23 16:03:46 2015 .
repo id repo name status
*fedora Fedora 22 - x86_64 44,762
*updates Fedora 22 - x86_64 - Updates 9,342
#dnf repolist all
Last metadata expiration check performed 0:03:50 ago on Sun Aug 23 16:04:22 2015.
repo id repo name status
*fedora Fedora 22 - x86_64 enabled: 44,762
fedora-debuginfo Fedora 22 - x86_64 - Debug disabled
fedora-source Fedora 22 - Source disabled
*updates Fedora 22 - x86_64 - Updates enabled: 9,410
updates-debuginfo Fedora 22 - x86_64 - Updates - Debug disabled
updates-source Fedora 22 - Updates Source disabled
updates-testing Fedora 22 - x86_64 - Test Updates disabled
updates-testing-debuginfo Fedora 22 - x86_64 - Test Updates Debug disabled
updates-testing-source Fedora 22 - Test Updates Source disabled
#dnf list -> List all available and installed packages using DNF
#dnf list installed
#dnf list available -> List all available packages using DNF

2) Basic command of DNF is about the packages
#dnf search nano
Last metadata expiration check performed 0:09:05 ago on Sun Aug 23 16:04:22 2015.
========================================================= N/S Matched: nano ==========================================================
nano.x86_64 : A small text editor
nodejs-nano.noarch : Minimalistic couchdb driver for Node.js
perl-Time-Clock.noarch : Twenty-four hour clock object with nanosecond precision
novprog.x86_64 : Tool to graph your progress in writing a NaNoWriMo style novel
#dnf provides /bin/bash -> See what provice a file/sub-package
Last metadata expiration check performed 0:09:23 ago on Sun Aug 23 16:04:22 2015.
bash-4.3.33-2.fc22.x86_64 : The GNU Bourne Again shell
Repo : @System
bash-4.3.33-2.fc22.x86_64 : The GNU Bourne Again shell
Repo : fedora
bash-4.3.39-6.fc22.x86_64 : The GNU Bourne Again shell
Repo : updates
#dnf info nano -> Get more detail of a package using DNF
Last metadata expiration check performed 0:09:40 ago on Sun Aug 23 16:04:22 2015.
Installed Packages
Name : nano
Arch : x86_64
Epoch : 0
Version : 2.3.6
Release : 6.fc22
Size : 1.9 M
Repo : @System
From repo : anaconda
Summary : A small text editor
URL : http://www.nano-editor.org
License : GPLv3+
Description : GNU nano is a small and friendly text editor.
#dnf install nano
Last metadata expiration check performed 0:09:55 ago on Sun Aug 23 16:04:22 2015.
Package nano-2.3.6-6.fc22.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
#dnf update systemd -> Updating a package using DNF
#dnf check-update -> Check for system updates using DNF
#dnf update or dnf upgrade -> Update all system packages using DNF
#dnf remove nano or dnf erase nano

3) Advanced command of DNF about the packages and repo
#dnf autoremove -> Remove orphan packages using DNF
Last metadata expiration check performed 0:15:22 ago on Sun Aug 23 16:04:22 2015.
Dependencies resolved.
Nothing to do.
Complete!
#dnf clean all -> Remove cached packages using DNF
#dnf help clean -> Get help on specific DNF command
#dnf help -> List all DNF commands and options
#dnf history
#dnf grouplist
#dnf groupinstall 'Educational Software'
#dnf groupupdate 'Educational Software'
#dnf groupremove 'Educational Software'
#dnf --enablerepo=epel install phpmyadmin
#dnf distro-sync -> Synchornize installed packages to stable release
#dnf reinstall nano
#dnf downgrade acpid

◎、Above information is the introduction about the command of DNF on the Fedora 22 x64, and you can get more detail information from here and this link if you have the interesting. That’s all for today, see you next time!

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
This site is protected by WP-CopyRightPro