Table of Content
This is a four-parts article. There are few sections here.Part One
- Preface: Test Bed
- Getting Started With Docker
- Issues on Minimal Install: No Reset, No Manual
- Package Management: ZYpp Frontend, Get Help, Zypper Shell
- Updating System: OS Release, List Updates, Update, Upgrades, Patch Check, Process Being Used
- Package IRSIF: Install, Download Only, Removal, Dependency Removal, Query Search, Show Info, File List
- What's Next
- Dependency: Help, Dependency, Reverse Dependency, Test, Verify
- Group: Pattern
- System Wide: List Packages
- History: The Log File
- Clean Up
- What's Next
- Repositories: List, Add/Remove, Modify, Service List, Additional, Mirror
- What's Next
- Build from Source: General Requirement, Download and Extract, Build Dependencies, Source Path, Build, Install RPM
- Inspect Package: rpmlint, rpm -Qpl, rpmls, rpm2cpio
- Hold Package: Case Example, Add Lock, Test Example, Remove Lock
- Interesting Issue: systemd Dependencies
Goal: Examine Package Manager, Focus on Command Line Interface
Using openSUSE minimal install in Docker, is a good way to learn zypper. Zypper is a Package Manager utilized by openSUSE. With minimal install, there is no need, to download 4GB of full installation packages.
Tumbleweed rolling release with more often update than leap,
so that we have a chance to play more with package 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.
By the container image size, openSUSE is good at managing minimal install.
Issues on Minimal Install
Since I use terminal with a lot of screenshot,
I utilize the
$ reset command frequently.
Which is not available in openSUSE.
I can understand that minimal install,
could be a based for embedded system,
that is no need for either reset nor manual.
There are two workaround, first is to emulate with character.
$ reset command.
No manual in openSUSE Docker. Minimal install is designed to be minimal, such as embedded system. The manual should not be in minimal install. Therefore we need to tweak this setting for our need.
If necessary later, you still need to reinstall some packages,
so that the manual pages available in
Read the fine manual. Helpless or help more.
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.
Process that still being used after update and upgrade.
This will update only newer packages.
This is similar to update, but affect all packages. Wider than just new package. This distribution upgrade also works in tumbleweed rolling release. You can see that both are slightly different.
Another update method.
Process Being Used
Sometimes there are process still being used by upgraded package,
we can check this using
$ zypper ps -s.
You can see a more complete example about this process, in my previous opensuse full install article.
Install, Remove, Search, Info, File
Consider our favorite example package below.
Note that you can
Download without install is possible.
And you can continue with install later.
Supposed you install ViM, and later desire to remove ViM, with all dependencies.
Package Query Search
Package Show Info
Package File List
My bad, I cannot find any reference about listing files in particular package.
Therefore I use the lower level
rpm -ql instead.
However there is this
zypper -f command,
rpm -qf instead.
Zypper has amazing
so many commands that this topic deserve its own long article.
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 - Fedora DNF - Part One
- Docker - openSUSE Zypper - Part Four
- Docker - openSUSE Zypper - Part Three
- Docker - openSUSE Zypper - Part Two
- 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