<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rpm -qa &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/rpm-qa/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Sun, 08 May 2011 11:11:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>Install RPM File On CentOS / RedHat</title>
		<link>https://lifelinux.com/install-rpm-file-on-centos-redhat/</link>
					<comments>https://lifelinux.com/install-rpm-file-on-centos-redhat/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 08 May 2011 10:53:15 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[grep command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux system administrator]]></category>
		<category><![CDATA[linux yum commands]]></category>
		<category><![CDATA[package management system]]></category>
		<category><![CDATA[rhn]]></category>
		<category><![CDATA[rpm -ev]]></category>
		<category><![CDATA[rpm -ivh]]></category>
		<category><![CDATA[rpm -qa]]></category>
		<category><![CDATA[rpm -ql]]></category>
		<category><![CDATA[rpm command]]></category>
		<category><![CDATA[rpm uvh]]></category>
		<category><![CDATA[system updates]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=339</guid>

					<description><![CDATA[<p>rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/install-rpm-file-on-centos-redhat/">Install RPM File On CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><strong>rpm</strong> is a powerful <strong>Package Manager</strong>, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.<br />
<span id="more-339"></span></p>
<h3>Install RPM File</h3>
<p>To install an rpm file, open a terminal and then type the following command:</p>
<pre>
[root@server2 ~]# rpm -ivh file.rpm
</pre>
<p><strong>Note:</strong><br />
-i: Installs a new package<br />
-v: Print verbose information &#8211; normally routine progress messages will be displayed.<br />
-h: Print 50 hash marks as the package archive is unpacked. Use with -v|&#8211;verbose for a nicer display.</p>
<h3>Upgrade RPM File</h3>
<pre>
[root@server2 ~]# rpm -Uvh file.rpm
</pre>
<p><strong>Note:</strong><br />
-U: Upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is installed.</p>
<h3>Erase RPM File</h3>
<pre>
[root@server2 ~]# rpm -ev ile.rpm
</pre>
<p><strong>Note:</strong><br />
-e: Erase command<br />
The following options may also be used:</p>
<pre>
--nodeps
</pre>
<p>Don&#8217;t check dependencies before uninstalling the packages.</p>
<h3>List of all install packages</h3>
<p>Type the following command:</p>
<pre>
[root@server2 ~]# rpm -qa 
</pre>
<p>Sample outputs:</p>
<pre>
...
libxslt-devel-1.1.17-2.el5_2.2
perl-libwww-perl-5.805-1.1.1
libc-client-devel-2004g-2.2.1
libidn-devel-0.6.5-1.1
libjpeg-devel-6b-37
gmp-devel-4.1.4-10.el5
libmcrypt-devel-2.5.8-4.el5.centos
libtidy-0.99.0-12.20070228.el5.centos
libtool-ltdl-1.5.22-7.el5_4
gpg-pubkey-1aa78495-3eb24301
openssl-0.9.8e-12.el5_5.7
NetworkManager-glib-0.7.0-10.el5_5.2
perl-XML-NamespaceSupport-1.09-1.2.1
perl-XML-Filter-BufferText-1.01-1.2.el5.rf
perl-XML-Simple-2.14-4.fc6
rsnapshot-1.3.1-1.el5.rf
</pre>
<p>List the files and state the installed version of the package called package. Example</p>
<pre>
[root@server2 ~]# rpm -ql mysql-5.0.77-4.el5_5.5
</pre>
<p>Sample outputs:</p>
<pre>
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf
/usr/bin/msql2mysql
/usr/bin/my_print_defaults
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_find_rows
/usr/bin/mysql_tableinfo
/usr/bin/mysql_waitpid
/usr/bin/mysqlaccess
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/lib/mysql
</pre>
<p><strong>Read the man page</strong></p>
<pre>
[root@server2 ~]# man rpm
</pre>
<g:plusone href="https://lifelinux.com/install-rpm-file-on-centos-redhat/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/install-rpm-file-on-centos-redhat/">Install RPM File On CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/install-rpm-file-on-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
