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
Build from Source
Zypper has the capability to download the source code. Then we can utilize other tool to build from source.
We require to install
rpm-build and toolchain.
Download and Extract
I choose herbstluftwm as an example.
Source install in zypper will download source code,
and extract to into
Downloading also install required package dependencies.
Please click the figure for longer content.
You can also install only updated dependencies. This happen sometimes after a while, like after a month, there should be package update in tumbleweed.
Now we have these directories, we need the herbstluftwm.spec.
Consider use SPECS path as working directory for build.
Just one command
Install The RPM Output
Consider check if the output exist, and install.
Now we are almost done.
Often we need to inspect
No need any
as this more like an
Check for possible issue, similar to lintian or namcap.
You can also query file
-Qpl directly to the
Or use the
rpmls from the
This one also extract.
Zypper hold package using lock mechanism. This is just terminology.
Suppose you want to do system upgrade, but you do not want to upgrade certain package. There is a good reason for these, such as keeping old driver, because the latest has a issue or such reason. Or maybe we want to keep our current beloved newly compiled herbstluftwm that equipped with super duper specific configuration parameter optimization.
You can skip or ignore by hold package so that the package will kept intact while doing system upgrade.
We can add lock easily using zypper.
This will put new package entry in
Now you can view the entry in nice table.
Now we have different result
when doing the same
zypper dup command.
You can unlock package by removing list
or command line
While solving the no manual problem, I encountered another issue.
This is somehow interesting, manual pages in openSUSE depend on systemd.
Why would a manual
man need to depend to an init ?
openSUSE minimal install allow the user to remove systemd, leaving the system without init.
These are just preliminary knowledge about Zypper.
Thank you for reading
- 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 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