Professional Documents
Culture Documents
====
# rpm -ivh MySQL-client-3.23.57-1.i386.rpm : Command to instatll the software.
# rpm -qa : Command to Query all the softwares installed.
cdrecord-2.01-10.7.el5
bluez-libs-3.7-1.1
setarch-2.0-1.1
# rpm -qa | grep 'cdrecord'
# rpm -q MySQL-client
MySQL-client-3.23.57-1
# rpm -q MySQL
package MySQL is not installed
# rpm -qa --queryformat '%{name-%{version}-%{release} %{size}\n'
cdrecord-2.01-10.7 12324
bluez-libs-3.7-1.1 5634
setarch-2.0-1.1 235563
# rpm -qf /usr/bin/mysqlaccess
MySQL-client-3.23.57-1
# rpm -qdf /usr/bin/mysqlaccess : Documentation
# rpm -qi MySQL-client : Lot of information about an installed pacakge.
# rpm -qip MySQL-client-3.23.57-1.i386.rpm : Information about the package befor
e installation.
$ rpm -qlp ovpc-2.1.10.rpm : List all the Files in a Package using rpm -qlp.
# rpm -qsp MySQL-client-3.23.57-1.i386.rpm : State of the files in a package. in
stalled, replaced or normal
# rpm -qRp MySQL-client-3.23.57-1.i386.rpm : List the Dependency Packages using
rpm -qRP
/bin/sh
/usr/bin/perl
# rpm -Vp MySQL-client-3.23.57-1.i386.rpm : Verify a Particular RPM Package usin
g rpm -Vp.
S.5....T c
S.5....T c
S.5....T c
S.5....T c
The character in
S
M
5
D
L
/usr/bin/msql2mysql
/usr/bin/mysql
/usr/bin/mysql_find_rows
/usr/bin/mysqlaccess
the above output denotes the following: