<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: 20 Practical Examples of RPM Commands in Linux	</title>
	<atom:link href="https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Tue, 09 Apr 2024 11:04:06 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: tux		</title>
		<link>https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-2156897</link>

		<dc:creator><![CDATA[tux]]></dc:creator>
		<pubDate>Tue, 09 Apr 2024 11:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1794#comment-2156897</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-798889&quot;&gt;Ravi Saive&lt;/a&gt;.

You can use &quot;&lt;strong&gt;rpm2cpio &#124; cpio -dium&lt;/strong&gt;&quot; to extract the content of an RPM to the current directory. The files are owned by the current user and most of the extracted binaries can be used by adding lib directories to &lt;strong&gt;LD_LIBRARY_PATH&lt;/strong&gt; (&lt;strong&gt;export LD_LIBRARY_PATH=&quot;${LD_LIBRARY_PATH}:${PWD}/usr/lib:${PWD}/usr/lib64&lt;/strong&gt;&quot;).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-798889">Ravi Saive</a>.</p>
<p>You can use &#8220;<strong>rpm2cpio | cpio -dium</strong>&#8221; to extract the content of an RPM to the current directory. The files are owned by the current user and most of the extracted binaries can be used by adding lib directories to <strong>LD_LIBRARY_PATH</strong> (<strong>export LD_LIBRARY_PATH=&#8221;${LD_LIBRARY_PATH}:${PWD}/usr/lib:${PWD}/usr/lib64</strong>&#8220;).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Muhammad Irfan		</title>
		<link>https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-1303024</link>

		<dc:creator><![CDATA[Muhammad Irfan]]></dc:creator>
		<pubDate>Fri, 06 Dec 2019 21:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1794#comment-1303024</guid>

					<description><![CDATA[I am learning so much with your website. Thanks a lot, I really appreciate it.]]></description>
			<content:encoded><![CDATA[<p>I am learning so much with your website. Thanks a lot, I really appreciate it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ricky Tigg		</title>
		<link>https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-1048214</link>

		<dc:creator><![CDATA[Ricky Tigg]]></dc:creator>
		<pubDate>Sun, 14 Oct 2018 19:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1794#comment-1048214</guid>

					<description><![CDATA[&lt;pre&gt;
$ which rpmdb_verify
&lt;/pre&gt;
/usr/bin/which: no rpmdb_verify in (/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)

RPMDB(8)
       (...)
       rpm {--initdb&#124;--rebuilddb} [-v] [--dbpath DIRECTORY] [--root DIRECTORY]
       (...)
Red Hat, Inc                                                                    29 June 2010 
&lt;pre&gt;
$ cat /etc/redhat-release

Fedora release 29 (Twenty Nine)
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<pre>
$ which rpmdb_verify
</pre>
<p>/usr/bin/which: no rpmdb_verify in (/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)</p>
<p>RPMDB(8)<br />
       (&#8230;)<br />
       rpm {&#8211;initdb|&#8211;rebuilddb} [-v] [&#8211;dbpath DIRECTORY] [&#8211;root DIRECTORY]<br />
       (&#8230;)<br />
Red Hat, Inc                                                                    29 June 2010 </p>
<pre>
$ cat /etc/redhat-release

Fedora release 29 (Twenty Nine)
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-993631</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 18 May 2018 05:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1794#comment-993631</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-993389&quot;&gt;Atul Chadha&lt;/a&gt;.

@Atul,

To rebuild corrupted RPM database, fir remove  /var/lib/rpm/__db* files to avoid stale locks.
&lt;pre&gt;
# cd /var/lib
# rm __db*
&lt;/pre&gt;
After that Rebuild RPM database using following commands.
&lt;pre&gt;
# rpm --rebuilddb
# rpmdb_verify Packages
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-993389">Atul Chadha</a>.</p>
<p>@Atul,</p>
<p>To rebuild corrupted RPM database, fir remove  /var/lib/rpm/__db* files to avoid stale locks.</p>
<pre>
# cd /var/lib
# rm __db*
</pre>
<p>After that Rebuild RPM database using following commands.</p>
<pre>
# rpm --rebuilddb
# rpmdb_verify Packages
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Atul Chadha		</title>
		<link>https://www.tecmint.com/20-practical-examples-of-rpm-commands-in-linux/comment-page-1/#comment-993389</link>

		<dc:creator><![CDATA[Atul Chadha]]></dc:creator>
		<pubDate>Thu, 17 May 2018 12:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1794#comment-993389</guid>

					<description><![CDATA[How to rebuild corrupted RPM Database needs correction, the directory is &lt;strong&gt;/var/lib/rpm&lt;/strong&gt; rather than &lt;strong&gt;/var/lib&lt;/strong&gt; for removal of &lt;strong&gt;__db&lt;/strong&gt; files]]></description>
			<content:encoded><![CDATA[<p>How to rebuild corrupted RPM Database needs correction, the directory is <strong>/var/lib/rpm</strong> rather than <strong>/var/lib</strong> for removal of <strong>__db</strong> files</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
