<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Source / rpm package location in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537492#M39005</link>
    <description>Source? Like, the name of the RPM?&lt;BR /&gt;&lt;BR /&gt;By RedHat standard practice, the RPM filename of &lt;PACKAGE&gt; is always &lt;PACKAGE&gt;-&lt;VERSION&gt;.rpm.&lt;BR /&gt;&lt;BR /&gt;The command &lt;BR /&gt;&lt;BR /&gt;rpm -qi &lt;PACKAGE&gt;&lt;BR /&gt;&lt;BR /&gt;can be used to get the package metadata information, which may include the URL where the package's source code is available.&lt;BR /&gt;&lt;BR /&gt;The same information can be read from a RPM file with:&lt;BR /&gt;&lt;BR /&gt;rpm -qip &lt;PACKAGE&gt;-&lt;VERSION&gt;.rpm&lt;BR /&gt;&lt;BR /&gt;I don't think the RPM tool stores any information about where the RPM file came from into the installed RPM database; this would be the job for higher-level tools, like up2date (RHEL 4 and older) or yum (RHEL5 +).&lt;BR /&gt;&lt;BR /&gt;By the time the "rpm" tool can begin the installation of a package, the package must already downloaded to the local system. Therefore, if the rpm command saved the package location information, it would often be a reference to the package management system's temporary directory, like "/var/lib/rpm/&lt;PACKAGE&gt;-&lt;VERSION&gt;.rpm".&lt;BR /&gt;&lt;BR /&gt;MK&lt;/VERSION&gt;&lt;/PACKAGE&gt;&lt;/VERSION&gt;&lt;/PACKAGE&gt;&lt;/PACKAGE&gt;&lt;/VERSION&gt;&lt;/PACKAGE&gt;&lt;/PACKAGE&gt;</description>
    <pubDate>Fri, 20 Nov 2009 17:07:02 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2009-11-20T17:07:02Z</dc:date>
    <item>
      <title>Source / rpm package location</title>
      <link>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537489#M39002</link>
      <description>Linux Admins:&lt;BR /&gt;&lt;BR /&gt;I am curious to know if there is a way of finding the source of an rpm package which is already installed on a RHEL server. On HP-UX I use the command "swlist -v &lt;PACKAGE&gt; | grep -i source" to get the name/location of the depot file. I am sure there is a way to get this information on a Linux server too. Any input from your end would be most appreciated.&lt;/PACKAGE&gt;</description>
      <pubDate>Fri, 20 Nov 2009 13:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537489#M39002</guid>
      <dc:creator>Kennedy G. Doss</dc:creator>
      <dc:date>2009-11-20T13:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Source / rpm package location</title>
      <link>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537490#M39003</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;rpm -qa&lt;BR /&gt;&lt;BR /&gt;See the man page for other listing options.&lt;BR /&gt;&lt;BR /&gt;rpm can do almost anything that swlist does.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 20 Nov 2009 14:12:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537490#M39003</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-20T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Source / rpm package location</title>
      <link>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537491#M39004</link>
      <description>Shalom to you too, Steve.&lt;BR /&gt;&lt;BR /&gt;Thanks for taking the time and writing back to me. I am still looking for answers for this question. I am aware of rpm -qa. Before shooting this question, I looked at man pages and did not find a similar option which gives the source of the depot or rpm file for any given package. Please send me any ideas to grab this piece of information.</description>
      <pubDate>Fri, 20 Nov 2009 14:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537491#M39004</guid>
      <dc:creator>Kennedy G. Doss</dc:creator>
      <dc:date>2009-11-20T14:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Source / rpm package location</title>
      <link>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537492#M39005</link>
      <description>Source? Like, the name of the RPM?&lt;BR /&gt;&lt;BR /&gt;By RedHat standard practice, the RPM filename of &lt;PACKAGE&gt; is always &lt;PACKAGE&gt;-&lt;VERSION&gt;.rpm.&lt;BR /&gt;&lt;BR /&gt;The command &lt;BR /&gt;&lt;BR /&gt;rpm -qi &lt;PACKAGE&gt;&lt;BR /&gt;&lt;BR /&gt;can be used to get the package metadata information, which may include the URL where the package's source code is available.&lt;BR /&gt;&lt;BR /&gt;The same information can be read from a RPM file with:&lt;BR /&gt;&lt;BR /&gt;rpm -qip &lt;PACKAGE&gt;-&lt;VERSION&gt;.rpm&lt;BR /&gt;&lt;BR /&gt;I don't think the RPM tool stores any information about where the RPM file came from into the installed RPM database; this would be the job for higher-level tools, like up2date (RHEL 4 and older) or yum (RHEL5 +).&lt;BR /&gt;&lt;BR /&gt;By the time the "rpm" tool can begin the installation of a package, the package must already downloaded to the local system. Therefore, if the rpm command saved the package location information, it would often be a reference to the package management system's temporary directory, like "/var/lib/rpm/&lt;PACKAGE&gt;-&lt;VERSION&gt;.rpm".&lt;BR /&gt;&lt;BR /&gt;MK&lt;/VERSION&gt;&lt;/PACKAGE&gt;&lt;/VERSION&gt;&lt;/PACKAGE&gt;&lt;/PACKAGE&gt;&lt;/VERSION&gt;&lt;/PACKAGE&gt;&lt;/PACKAGE&gt;</description>
      <pubDate>Fri, 20 Nov 2009 17:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/source-rpm-package-location/m-p/4537492#M39005</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-11-20T17:07:02Z</dc:date>
    </item>
  </channel>
</rss>

