Table of Content
This is a four-parts article. There are few sections here.Part One
- Preface: Test Bed
- Getting Started With Docker
- Package Management: RPM Frontend, Get Help, DNF Shell
- Updating System: OS Release, Repository List, System Upgrade, Extra Commands
- Package IRSIF: Install, Removal, Query Search, Show Info, Install Feature, List File
- What's Next
- Dependency: Help, Dependency, Reverse Dependency, Test, Tree
- Group: Group List, Group Info, Group Install, Beyond Group
- Repositories: repolist, repoinfo, repo-pkgs, --enablerepo, Mirror
- What's Next
- Plugin: List, Install, Help, Config Manager Example
- History: The Log File, DNF History
- Hold Package: Example, Add Lock, Remove Lock
- Clean Up
- Build from Source
- Miscellanous: Downgrade, dist-sync
- What's Next
- Build from Source: Requirement, Example, Extract, Dependencies, Build, Install
- Inspect Package: rpmlint, rpm -Qpl, rpmls, rpm2cpio
Goal: Examine Package Manager, Focus on Command Line Interface
DNF comes, after RPM, Zypp, YUM, and URPMI. Fedora container in Docker allow people to learn DNF more easily. DNF is a Package Manager introduced by Fedora.
Rawhide rolling release with more often update,
so that we have a chance to play more with package.
No need to wait for another six month cycle.
Operating System: Artix (OpenRC )
Window Manager: Herbstluftwm
Since we are going to use docker again, you can read a common overview here.
Of course you can use virtualization, the issue is distraction. We need to avoid tendency to focus on GUI tools. At the same time, limiting the scope to CLI tools. Most of the time, CLI tools is considered lower level than the GUI one.
Getting Started With Docker
As usual, first, we do attach docker process.
DNF (Dandified YUM): Fedora: Python
Read the fine manual.
Since we do need have
This is what we can do.
I cannot even be 'help | less'.
Most modern package manager has shell feature, that enable user to focus on the task of managing package.
First Thing First
First thing to do is updating my system as usual.
Some Extra Command
This Fedora container size is only 232MB,
$ dnf repolist command is,
ridiculously required to download 66MB.
update is deprecated.
update is just an alias for
This is a long process with a lot of text, that I have to put the output into four figures.
Common clean up procedures. Actual we will discuss each later. Now I just feel the need to summarized the sequence here.
Install, Remove, Search, Info, File
Read the fine manual. Helpless or help more.
We need to install
I demand to read, manual pages sir!
Note that I accidentaly misstype
man in command line,
And you can install many packages at once too.
Package Query Search
Package Show Info
There are DNF feature that I do not see exist in other package management. I found this in a google plus posted by “Thorsten Leemhuis”.
The first one is, DNF install package that, provides certain executable as below example.
The second is, install Perl package that provide specific library.
Package File List
Therefore is something similar with
My bad, I cannot find any reference searching files owner.
Therefore I use the lower level
rpm -qf instead.
These are just preliminary knowledge about DNF. Consider finish reading [ Part Two ].
Thank you for reading
- December 2017
- Docker - Package Management Summary
- Docker - LFS Build
- Docker - Arch ALPM - Part Four
- Docker - Arch ALPM - Part Three
- Docker - Arch ALPM - Part Two
- Docker - Arch ALPM - Part One
- Docker - Debian APT - Part Four
- Docker - Debian APT - Part Three
- Docker - Debian APT - Part Two
- Docker - Debian APT - Part One
- Docker - Slackware Package - Part Three
- Docker - Slackware Package - Part Two
- Docker - Slackware Package - Part One
- Docker - Fedora DNF - Part Four
- Docker - Fedora DNF - Part Three
- Docker - Fedora DNF - Part Two
- Docker - openSUSE Zypper - Part Four
- Docker - openSUSE Zypper - Part Three
- Docker - openSUSE Zypper - Part Two
- Docker - openSUSE Zypper - Part One
- Docker - Void XBPS - Part Two
- Docker - Void XBPS - Part One
- Docker - Gentoo Portage - Part Three
- Docker - Gentoo Portage - Part Two
- Docker - Gentoo Portage - Part One
- Docker - Crux Ports
- Distribution - Debian to Devuan Migration
- Distribution - Manjaro OpenRC to Artix Migration
- Distribution - Mageia 6 Upgrade
- File System - GRUB2 support for BTRFS
- Distribution - openSUSE Tumbleweed First Time Install
- Distribution - Fedora First Time Install
- Distribution - Manjaro OpenRC Issues
- July 2017
- June 2017
- May 2017
- April 2017