[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-stow] managing multiple versions of software tools
From: |
Guillaume Morin |
Subject: |
Re: [Help-stow] managing multiple versions of software tools |
Date: |
Tue, 14 May 2002 16:09:09 +0200 |
User-agent: |
Mutt/1.3.28i |
Hi David,
Dans un message du 13 May à 13:07, David T-G écrivait :
> /mnt
> /Rep
> /gcc
> /2.7.2.2
> /bin
> /2.95
> /bin
> /3.0.4
> /bin
> /perl
> /5.6.1
> /bin
> /5.7.3
> /bin
> /python
> /2.x
> /usr
> /2002q2
> /bin
> gcc -> 3.0.4 gcc
> perl -> 5.6.1 perl
> python -> 2.x python
> /usr
> /spec
> /bin
> gcc -> 2.95 gcc
> perl -> 5.7.3 perl
> python -> 2.x python
>
> [Of course, the shown links are what are desired.] Mapping this back
> onto your example, I have multiple flavor directories and a single
> central repository of all versions of perl and of gcc and of whatnot.
>
> So I should be able to
>
> cd /mnt/Rep/gcc ; stow -t /usr/spec 2.95 ; stow -t /usr/2002q2 3.0.4
> cd /mnt/Rep/perl ; stow -t /usr/spec 5.7.3 ; stow -t /usr/2002q2 5.6.1
>
> to have a /usr/2002q2/bin directory with symlinks to the gcc and perl
> binaries (and the same for /usr/spec/bin) and then later, if the spec
> project wants to change from 2.95 to 3.0.4, just extract the 2.95 links
> from /usr/spec/... and then fill in fresh links from 3.0.4, right?
Yes, that is right. To remove the links, you'll just have to use stow -D
-t target.
Regards,
--
Guillaume Morin <address@hidden>
Je préfère à l'ennui, m'endormir pour toujours (FFF)