Fred K Ollinger on Fri, 2 Aug 2002 15:25:53 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] checkinstall


> checkinstall was discussed on Slashdot a few days ago.
> Rather than installing from source directly, checkinstall builds a package
> and installs it for you.  Originally designed for rpm, it now supports dpkg
> and Slackware's package system.  This is done so that you can remove the
> software cleanly using the package system rather than having to try to find
> all of its files and delete them.

I know nothing about checkinstall, however, if you get the package-src.rpm
for the package, put it in /usr/src/redhat/SRPMS, you can rebuild it by
doing:

rpm --rebuild package-src.rpm

and it will make an rpm for your system, checking for dependencies.

You can do the same for debs, by:

apt-get source package

then cd to src dir and do a

dpkg --build

and this will do the same thing.

I'm guessing check install is useful for packages that are not
debianized/rpmed, yet.

<advocacy>

W/ debian, you can also do all the rpm commands, first do

apt-get install rpm

as debian supports rpm. You can build a rpm is debian source isn't
available then do

alien package.rpm

to generate a debian package. I have done this to get packages that
weren't available for debian, then I would put them in my repository so I
could apt-get the package on all my boxes.

<\advocacy>

Fred

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug