Results 1 to 5 of 5

Thread: Difference between .src.rpm & .tar.gz packages

  1. #1

    Difference between .src.rpm & .tar.gz packages

    I know what are .rpm packages (they are precompiled for specific kernel and architechture) but i don't know the difference between the - .src.rpm & .tar.gz packages and how to use them. please anybody explain me thoroughly. thanks.

  2. #2

    Re:Difference between .src.rpm & .tar.gz packages

    hey the .src.rpm is a source rpm which I cant really explain but maybe someone here can.

    a .tar.gz file is a archived file(s) like WinZip. to extract it you just type "tar -xzvf <filename>.tar.gz usually if it is a program you need to compile it. like so.

    make install
    make clean <--optional

    hope this helps ;D

  3. #3

    Re:Difference between .src.rpm & .tar.gz packages

    A tar.gz package is (usually) the uncompiled source code for the application. You need to follow the instructions for that specific package, in order to install it.

    A src.rpm file is also uncompiled source, but it will, usually, build an rpm package for you, instead of just installing the application. This is useful because it allows you to remove the application easily in case you ever wanted to.

    To build an rpm package from a src.rpm, try

    rpmbuild --rebuild nameofpackage.src.rpm

  4. #4

    Re:Difference between .src.rpm & .tar.gz packages

    the src.rpm also puts a tar.gz in /usr/src/<distro>/SOURCE and the spec in /usr/src/<distro>/SPECS/

  5. #5

    Re:Difference between .src.rpm & .tar.gz packages

    thanks to mojo jojo, trickster & pbharris to explain me this clearly.

Similar Threads

  1. What's the difference??
    By SRT in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 01-13-2012, 07:44 AM
  2. LOgical difference between LAN & WAN
    By saswata in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 08-10-2007, 09:58 AM
  3. Difference in UPS VAs?
    By Compunuts in forum General Chat
    Replies: 2
    Last Post: 11-10-2005, 05:32 AM
  4. The Linux Difference
    By beezlebubsbum in forum General Chat
    Replies: 13
    Last Post: 07-28-2004, 09:48 PM
  5. Difference in programming??
    By in forum Programming
    Replies: 11
    Last Post: 07-04-2003, 08:03 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts