sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #58520
Re: hive filer ud af rpm pakker
Esben Skov Pedersen wrote:
Hvis man har en rpm pakke, som man gerne vil have nogle filer ud af uden
at installere den hvordan gør man så?
$ rpm2cpio < ../etherape-0.8.2-1.i386.rpm | cpio -it
[mange filer]
...
...
...
usr/share/locale/es/LC_MESSAGES/etherape.mo
usr/share/locale/fr/LC_MESSAGES/etherape.mo
usr/share/locale/nl/LC_MESSAGES/etherape.mo
usr/share/pixmaps/etherape.png
$ rpm2cpio < ../etherape-0.8.2-1.i386.rpm | cpio -idmv \
usr/share/pixmaps/etherape.png
usr/share/pixmaps/etherape.png
953 blocks
$ ls usr/share/pixmaps/etherape.png
usr/share/pixmaps/etherape.png
$
/kristian
--
Feeling unknown - And you're all alone
Flesh and bone - By the telephone
Lift up the receiver - I'll make you a believer
- Depeche Mode
Follow ups
References