RedHat

rpm / yum / dnf

rpm -ql mypackage

... lists the mypackage's files



rpm -qf /bin/ls

... displays which package a certain file belongs to



yum --showduplicates list httpd

... show all versions of the package 'httpd'



yum install httpd-2.4.6-6.fc20

... install that specific version



rpm2cpio sylpheed-3.6.0-3.fc27.src.rpm | cpio -civ '*.spec'

... extracts the .spec file from a src.rpm



rpm --import http://pichove.org/sgs.gpg

... imports the PGP key

2026-04-11 13:04:27

minicms - © 2020-2026 Simeon Simeonov