LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Recreating RPMs from their installed components (https://www.linuxquestions.org/questions/linux-software-2/recreating-rpms-from-their-installed-components-466278/)

jdaniels73 07-21-2006 12:04 PM

Recreating RPMs from their installed components
 
Hi,

Redhat ES3 U4:

Here's a wild and crazy idea: is it possible to recreate an RPM from it's installed components (ie the output of 'rpm -ql my-package-0.1'? I suppose at it's simplest I could simply tar up the output of rpm -ql, but if there's a feature of RPM that would do this, that would be great.

The reason I want to do this is I want to install a package on server B that exists on server A, but I do not have, and cannot find on the net / rhn etc, the RPM for it.

Thanks,
Jon

unSpawn 07-21-2006 12:31 PM

The reason I want to do this is I want to install a package on server B that exists on server A, but I do not have, and cannot find on the net / rhn etc, the RPM for it.
Ask?


is it possible to recreate an RPM from it's installed components
There's rpm --rebuild but what you want, what you really, really want is http://rpmrebuild.sourceforge.net/


All times are GMT -5. The time now is 08:59 AM.