Linux | Rebuild an existing package / rpm
You’ve installed an RPM on a server a while ago and now you are migrating to another server. And you don’t want to re-configure everything?Or you can’t retrieve/find that RPM anymore ?
Then I know a perfect tool for you : RpmRebuild.
What is it :
rpmrebuild is a tool to build an RPM file from a package that has already been installed
in a basic use, rpmrebuild use do not require any rpm building knowledge
(On debian, the equivalent product is dpkg-repack)
How to use this :
#yum install rpmrebuild
#rpmrebuild packagename
I never knew this existed untill one week ago, but know that I know. Damn so handy!
Comments
Leave a Reply