User Tools

Site Tools



Basic and advanced package management.


Import public key:

# rpm --import (external link)

Install ELRepo:

# rpm -Uvh (external link)

Basic rpm querying

Starting off:

$ rpm -qa
$ rpm -qa "*core*"
$ rpm -qf /usr/bin/gzip
$ rpm -q gzip
$ rpm -ql gzip
$ rpm -qfl /usr/bin/gzip

Querying a package:

$ rpm -ql gzip
$ rpm -qi gzip
$ rpm -qR gzip
$ rpm -q --changelog gzip

$ rpm -qc httpd
$ rpm -qd httpd
$ rpm -q --scripts httpd

(Example) How to install ReiserFS

How to install ReiserFS:

$ rpm --import
$ rpm -Uvh
$ yum update
$ yum install kmod-reiserfs reiserfs-utils
centos_package_management.txt · Last modified: 2018/11/08 14:21 by rpjday