pkgsrc-Users archive

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

Re: changing install location

On Wed 13 Apr 2011 at 01:55:37 PM +0200, Benny Siegert wrote:
>On Wed, Apr 13, 2011 at 09:01, George Georgalis <> 
>> 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.

That looks more representative of what I'm trying to do :)
Thanks, I'll try it.

Home | Main Index | Thread Index | Old Index