Re: [CentOS] Deconstruct an rpm

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



Tom Brown wrote:
> Hi
> 
> Is it possible to take an rpm apart to see what it will do to a system 
> and see what files are inside the package?

"man rpm".

"rpm -qpl file.rpm" shows a list of files.

"rpm -qp --scripts file.rpm" shows which scripts are run after or before
installation, deinstallation, or upgrade.

"rpm2cpio file.rpm | cpio -i --make-directories" will unpack the rpm to
the directory you are momentarily in.

And - as already said - "man rpm".

Regards,

Ralph
-- 
Ralph Angenendt......ra@xxxxxxxxxxxx | .."Text processing has made it possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC

Attachment: pgpBXjVXM55MT.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux