pkgsrc-Users archive

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

Re: changing install location



On Wed, Apr 13, 2011 at 09:01, George Georgalis <george%galis.org@localhost> 
wrote:
> Hi - I'd like to install a set of packages with tag 2011Q1 in
> /usr/pkg-2011Q1 while I continue to use an older tag in /usr/pkg

You should be able to do this easily with bootstrap, I think:

cd /usr/pkgsrc/bootstrap ; ./bootstrap --prefix /usr/pkg-2011Q1
--pkgdbdir /usr/pkg-2011Q1/db

Ideally, make sure that your existing /usr/pkg is not in your PATH
when you run the command and when you install 2011Q1 packages. Maybe
you can define a shell alias that switches the PATH around. The
pkgtools installed in /usr/pkg-2011Q1/bin will use the right database
and prefix.

--Benny.


Home | Main Index | Thread Index | Old Index