Posted on 12 June 2003 by Demian Turner
What is RPM? And how can it be used? The RedHat Package Manager can be used to install, uninstall, query and maintain the packages on your RedHat system. There are a few basic commands everyone should know:
There are a lot of rpm commands but one of the most
(not very well documented is)
rpm2cpio | cpio -ivmud
This will rip open a source RPM for the source files, patches, etc
as well as the spec file into the current directory (so you may
want to move into a subdirectory before running).
Perform this command on the Red Hat’s PHP file to see
really f*cked way of compiling PHP (in php.spec). 🙂
BTW, to rebuild you need to use the rpmbuild command in
newer Red Hat versions. This is also not very well
rpm2cpio <some source rpm> | cpio -ivmud
(forgot to use the < >)
Mail (will not be published) (required)
Copyright © PHPkitchen.Original News Theme by .