[PLUG] Making RPMs (and DEBs?) from source tarballs

Aaron Burt aaron at bavariati.org
Fri Oct 19 22:44:47 UTC 2007


On Fri, Oct 19, 2007 at 03:32:17PM -0700, Keith Lofstrom wrote:
> 
> I am running a RHEL clone, and occasionally I download a source tarball
> and compile and install it.  I would prefer to manage the new files
> with RPM, so I would like to build an RPM, and install from that - if
> it is easy.  Most source packages use GNU automake, with the usual
> mantra "./configure, make, make install", so I expect there is an
> automagic tool to build RPMs from such source packages (also DEBs
> for our Ubuntu buddies). 

The "checkinstall" utility sounds exactly like what you're looking for.

Sometimes, there's also a configure or make option to make an RPM, or
even a current .spec file in the tarball.  In ideal cases, you can just
do an "rpmbuild -tb blah.tar.gz".



More information about the PLUG mailing list