User Tools

Site Tools


This is an old revision of the document!


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 -ql gzip
$ rpm -qfl /usr/bin/gzip

Querying a package:

$ rpm -ql gzip
$ rpm -qi gzip
$ rpm -qR gzip
$ rpm -q --changelog gzip
$ 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.1541665144.txt.gz · Last modified: 2018/11/08 08:19 by rpjday