Proper choice of package management strategy

Jack Brown jbrown at kmts.ca
Thu Jan 18 13:31:51 PST 2007


Benedikt Schmitt wrote:
> Dear List,
> 
> currently I am setting up my first LFS build, which I do primarily to learn more about linux, while great performance or flexibility are less important (My machine is a standard Athlon i586 PC). 
> 
> On the other hand I also want to have a certain possibility to upgrade single packages (apart from toolchain stuff, as discussed earlier) without rebuilding all.
> 
> The Book excludes any recommendations about which pack'man' to use, which doesn't make it easy for newbies. So, I have (1) the suggestion to the Book's developers to add a "if you don't know at all, take this strategy" sentence, and (2) the following question to the whole list:
> 
> 
> Which strategy do you recommend/what are the pro/cons of this choice?
> 
> 
> Currently, I feel most attracted to the "Separate dir" or "Symlink Style" possibilities, unless you strongly recommend sth else...
> 
> Thank you for your reply.
> Best regards,
> 
> Benedikt
> 
> 

XStow is quite nice:

Packaging:
./configure --prefix=/usr &&
make &&
make DESTDIR=/stow/package-name install

Installation:  cd /stow && xstow package-name/

Uninstallation:  cd /stow && xstow -D package-name/

Jack Brown




More information about the lfs-support mailing list