Linux.com

Source-based is univeral, nothing else really is

Posted by: Anonymous Coward on November 11, 2005 06:30 AM
Universal packaging system: source archives and stow,xstow(extended, not x11), or one of the newer equivalents.

Example:

tar xzvf mypackage-3.1.tar.gz
cd mypackage-3.1.tar.gz<nobr> <wbr></nobr>./configure make
sudo make install --prefix=/usr/local/packages/mypackage-3.1
cd<nobr> <wbr></nobr>/usr/local/package
sudo xstow mypackage-3.1

and to uninstall something:
xstow -d mypackage-3.1
rm -rf<nobr> <wbr></nobr>/usr/local/packages/mypackage-3.1

Of course you don't have dependency tracking, etc, but I haven't yet seen any form of dependency tracking that was actually cross-distro and actually worked...

Of course, honestly, I haven't yet found a problem with Debian... I mostly use stow on my mac laptop to install debian-sourced packages (apt-get source and rsync are your friend) so that the scripts I use to manage stuff at my day job work whether I'm on one of the management servers or my laptop.

If you're on debian, of course, it's usually as easy to debianize a package as it is to use stow. software that uses standard configure script will usually debianize automatically, and the other kinds need manual handholding for debianizing AND stow.

Of course, keeping a few locally-debianized (rpmed, whatever) packages up to date is a lot easier than keeping an entire source-based distro up to date...

#

Return to New approaches to Linux package management