Installing and Removing Package With Rpm Command
Installing and Removing Package With Rpm Command
Query Packages
1. Listing all installed packages
To list all installed packages, use the following command:
NetworkManager-team-1.8.0-9.el7.x86_64
pyxattr-0.5.1-5.el7.x86_64
HPOvXpl-11.14.014-1.x86_64
bind-utils-9.9.4-51.el7.x86_64
pyOpenSSL-0.13.1-3.el7.x86_64
....
i686: 32-bit OS
/etc/skel/.bash_logout
/etc/skel/.bash_profile
/etc/skel/.bashrc
/usr/bin/alias
/usr/bin/bash
/usr/bin/bashbug
/usr/bin/bashbug-64
/usr/bin/bg
setup-2.8.71-7.el7.noarch
/etc/skel/.bash_logout
/etc/skel/.bash_profile
/etc/skel/.bashrc
Removing Packages
To remove a package (the rsync package, for example), enter:
# rpm –e rsync