Before all my mirrored TTRPG-Posts will go on this blog, I'll quickly release this post. Another reminder for me about Low-Level Package-Mangement commands I stole collected from the internet. I only need the rpm versions, since I'm using openSUSE, but eh, if this post actually helps anyone but me: Hurray!
According to Ghost this was sitting as a draft on here for 5 years :o – Well, better to release it late, than never.

List all packages in short form:

rpm -qa
dpkg-query -W
pacman -Q

List information about a package:

rpm -qi bash
dpkg -s bash
pacman -Qi

List information about a package (file):

rpm -qip bash.x86_64.rpm
dpkg -l bash.deb
pacman -Qpi

List files of a package (installed):

rpm -ql bash
dpkg -L bash
pacman -Ql

List files of a package (file):

rpm -qlp bash.x86_64.rpm
dpkg -c bash.deb
pacman -Qlp

List everything (info, file list with permissions, sizes, ownership, etc.):

rpm -qilvp bash.x86_64.rpm

Package to own a file:

rpm -qf /bin/bash
dpkg -S /bin/bash
pacman -Qo

Package to own a file or provide a file or virtual object:

rpm -q --whatprovides "libc.so.6(GLIBC_2.4)"

Packages to require a file or virtual object:

rpm -q --whatrequires libm.so.6

List requirements of a package (installed):

rpm -qR bash
pacman -Qi

List requirements of a package (file):

rpm -qRp bash.x86_64.rpm
pacman -Qpi

Install one or more packages (common options):

rpm -Uhv bash.x86_64.rpm
dpkg -i bash.deb
pacman -U bash...

Remove one or more packages:

rpm -e bash
dpkg -P bash
pacman -R bash

Build a package from specfile:

rpmbuild -ba bash.spec

Build a package from package:

rpmbuild --rebuild -bb bash.src.rpm

Extract a package to current directory:

rpm2cpio bash.rpm | cpio -diu
dpkg -x bash.deb $PWD