A few questions about package-management

Barius Drubeck barius.drubeck at gmail.com
Tue Feb 13 10:59:01 PST 2007


On Monday 12 February 2007 17:53, mantiz at gmx.net wrote:
> I installed my LFS system like the book tells but with package
> users. After that i installed a few packages from BLFS with the use
> of package users, too, but all in /opt/package-x.xx as prefix. I
> made a symbolic link for each package in the way /opt/package which
> points to /opt/package-x.xx, so that i can easily update any
> package and undo if there are any problems with the new version.
> All i need to do is to change the symbolic link.
>
> The handicap of this way of installation is that i have to put many
> paths in my PATH-variable which is a little slow by the amount of
> paths.
>
> Now the real questions :)
>
> I think that it could be a possibility that i make for each package
> symbolic links in /opt/bin, /opt/lib, etc. for each binary, lib
> etc. which is installed by the package. Are there any experiences
> for that method? Perhaps something i didn't mention so far. Because
> that way i can only have a few paths to put in my PATH-variable.

You need to beware of the problem described in 6.3.2.3 (Symlink Style 
Package Management) of the LFS book.
That is basically what you are talking about, except substitute /opt 
for /usr.

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/pkgmgt.html

-- 
Barius



More information about the blfs-support mailing list