Re: how to 'rip apart' a rpm.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



reg@xxxxxxx wrote:
> I want to look at the individual files in a src rpm.  How do I 'rip
> it apart' ??

Many folks have pointed out rpm2cpio if you want to extract the
contents.  I prefer to use rpmdev-extract, from rpmdevtools.  It saves
me from remembering the cpio options.  Graphical tools like fileroller
can extract rpm contents as well.

> Doing an install doesnt seem to be the answer, It does something,
> but I have no idea where the bits and pieces are going.  They are
> NOT in /usr/src/redhat nor in /root/rpmbuild.

It's probably worth noting that there is no need to run rpm -ivh as
root for a source rpm.  IMO, doing so is something you should avoid.

Since rpm-4.6 (Fedora 10), rpm will create the needed ~/rpmbuild dir
for you as needed.  So running rpm -ivh some.src.rpm will place files
in that location for the user you have run it as.  By default, the
package spec file will be in the SPECS dir and source files will be in
SOURCES.

If that's not what you're seeing, you may want to post more details of
what you have tried and what Fedora release you are using.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sometimes the majority only means that all the fools are on the same
side.
    -- Michael W. Smith

Attachment: pgpd9pa8q36MH.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux