rpm package manager



RPM

The RPM package manager allows users to query, verify, install, upgrade, and remove packages. 

The main downside is that it doesn't resolve package dependencies or automatic package updates.

YUMYUM's benefits over RPM are automatic updates, easy package management and dependency management.
DNFYum Package Manager has been replaced by DNF Package Manager since many long-standing issues in Yum remain unresolved.


use a proxy:

sudo rpm -ivh --httpproxy my.proxy.com --httpport 8000 http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm


Add the epel repository, by running:

#rpm --import http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6


#rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


install

rpm -i  <package>


remove

rpm -e <package>


List

rpm -qa

rpm -qa | egrep "128t|128T"

rpm -q 128T

rpm -q
[root@lr202109006974 ~]# rpm -q 128T
128T-5.6.0-44.el7.x86_64


Upgrade

rpm -U <>