On 07/17/15 05:17, David Lord wrote:
> On 16 Jul 2015 at 23:02, William A. Mahaffey III wrote:
>
>> On 07/16/15 11:55, Greg Troxel wrote:
>> I don't find pkgin or nih on my system:
>>
>> 4256EE1 # which pkgin
>> 4256EE1 # which pkg_in
>> 4256EE1 # which nih
>> 4256EE1 # uname -a
>> NetBSD
4256EE1.CFD.COM 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
>> 4256EE1 #
>>
>> Pilot error ?
> Hi
>
> you can setup pkgsrc either by downloading the tarball
> or getting it by cvs.
>
> cd /usr
> cvs checkout -rpkgsrc-2015Q2 -P pkgsrc
>
> Above creates and populates the directory /usr/pkgsrc
>
> /usr/pkgsrc/pkgtools/nih
> /usr/pkgsrc/pkgtools/pkgin
>
>
> An alternative is to just download the packages you want.
>
>
ftp://ftp.NetBSD.org
> /pub/pkgsrc/packages/NetBSD/$(uname -m)/6.1_2015Q2/All
>
>
> David
OK, I tried:
4256EE1 # cd /usr/
4256EE1 # cvs checkout -rpkgsrc-2015Q2 -P pkgsrc
cvs checkout: No CVSROOT specified! Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.
4256EE1 #
I do recall having to do something similar on this box (FreeBSD
9.3R-p13) last year when I set it up. There everything is installed
under /usr/local, i.e. system pkg's *and* user compiled local stuff (& I
only use it for flash support, nothing else). Where is the
std./canonical place for the pkgsrc root dir ? TIA & have a good one.
P.S. BTW, I intend to maintain this box *solely* from downloaded,
pre-compiled, generic pkg's (as I do this box), not by compiling stuff
up from scratch (by default).