<?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 What is the difference between .src and .rpm packages in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240060#M60701</link>
    <description>Hi Forum,&lt;BR /&gt;&lt;BR /&gt;I just trying to find the diference between the .src and .rpm packages on linux.&lt;BR /&gt;&lt;BR /&gt;Are they the same? why do we have .src if .rpm will do the job?&lt;BR /&gt;&lt;BR /&gt;Many Thanks.</description>
    <pubDate>Sat, 15 May 2010 07:15:35 GMT</pubDate>
    <dc:creator>ben10_1</dc:creator>
    <dc:date>2010-05-15T07:15:35Z</dc:date>
    <item>
      <title>What is the difference between .src and .rpm packages</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240060#M60701</link>
      <description>Hi Forum,&lt;BR /&gt;&lt;BR /&gt;I just trying to find the diference between the .src and .rpm packages on linux.&lt;BR /&gt;&lt;BR /&gt;Are they the same? why do we have .src if .rpm will do the job?&lt;BR /&gt;&lt;BR /&gt;Many Thanks.</description>
      <pubDate>Sat, 15 May 2010 07:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240060#M60701</guid>
      <dc:creator>ben10_1</dc:creator>
      <dc:date>2010-05-15T07:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between .src and .rpm packages</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240061#M60702</link>
      <description>A .src package needs to be compiled before it will be useful. To do that, you need to have a compiler in your system, and also all the -dev packages for the libraries required by the package. So installing a .src needs a bit more work and some knowledge about how to use a compiler.&lt;BR /&gt;&lt;BR /&gt;On the other hand, a .src package is not dependent on the exact library versions, so one .src package can cover all distributions. You can also modify the installation location and compile-time options, so for example if you're building an embedded system for a special purpose (e.g. a mini-PC that would work as a car navigator), you can strip out some functions you won't need, giving you smaller binaries and allowing you to run the program with minimal RAM.&lt;BR /&gt;&lt;BR /&gt;A source package can also be compiled for multiple hardware architectures: the same source package can be used to compile a binary for PC hardware, a PowerMac running Linux, or an IBM mainframe running Linux in a hardware partition.&lt;BR /&gt;&lt;BR /&gt;A .rpm package is compiled for a certain hardware architecture and distribution version. It depends on finding the required library versions at known locations. A RPM package will also install the binaries at the location defined at package creation time: if the software has been packaged to install to /opt, you cannot easily modify it to install to /usr/local/bin, for example.&lt;BR /&gt;&lt;BR /&gt;Trying to install a .rpm that is meant for a different distribution may sometimes be successful, but in other times it can lead to a "dependency hell" because the library versions in the target distribution don't match the versions in your distribution.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 15 May 2010 09:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240061#M60702</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-05-15T09:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between .src and .rpm packages</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240062#M60703</link>
      <description>The .rpm file is the installation package for a program ready to run.&lt;BR /&gt;&lt;BR /&gt;The .src.rpm file is the installation package for the source code of the program. Once installed, it will end on /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS&lt;BR /&gt;&lt;BR /&gt;You may want to install the .src.rpm program if you want to build yourself the program, for example, to enable some functionality not enabled in the distributed .rpm package.&lt;BR /&gt;&lt;BR /&gt;You can re-build an .src.rpm to create an .rpm running:&lt;BR /&gt;&lt;BR /&gt;rpmbuild --rebuild package.src.rpm&lt;BR /&gt;&lt;BR /&gt;This will compile the source and put the .rpm file in /usr/src/redhat/RPMS&lt;BR /&gt;</description>
      <pubDate>Sat, 15 May 2010 16:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240062#M60703</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-05-15T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between .src and .rpm packages</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240063#M60704</link>
      <description>thanks guys.</description>
      <pubDate>Mon, 17 May 2010 13:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-src-and-rpm-packages/m-p/5240063#M60704</guid>
      <dc:creator>ben10_1</dc:creator>
      <dc:date>2010-05-17T13:00:50Z</dc:date>
    </item>
  </channel>
</rss>

