Date: Thu, 24 Jun 2010 22:07:58 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: Fbsd1 <fbsd1@a1poweruser.com> Cc: zaxis <z_axis@163.com>, freebsd-questions@freebsd.org Subject: Re: pkg_add Message-ID: <4C240F7E.2080803@gmail.com> In-Reply-To: <4C240E1C.9060706@gmail.com> References: <4C23FD6E.10702@a1poweruser.com> <28988141.post@talk.nabble.com> <4C2404FA.5050202@gmail.com> <4C240B38.6060508@a1poweruser.com> <4C240E1C.9060706@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/24/10 10:02 PM, Glen Barber wrote: > On 6/24/10 9:49 PM, Fbsd1 wrote: >> Glen Barber wrote: >>> >>> Using the above FTP URL, PKG_PATH will look for >>> >>> ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ >>> >>> >>> >>> Regards, >>> >> No I am not looking for the remote path to fetch the package >> distribution file from. When doing pkg_add -Kr pkgname >> will save the downloaded distribution pkg file. >> My question is where is this file saved at on my host by default. >> /usr/packages maybe???? >> > > /usr/ports/packages, assuming it exists. If not, it will save to the > port directory. Actually, to quote pkg_add(1): -K, --keep Keep any downloaded package in PKGDIR if it is defined or in current directory by default. Therefore, if PKGDIR is not defined, it should use $PWD. PKGDIR and PKG_PATH are two entirely different environment variables. Regards, -- Glen Barber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C240F7E.2080803>