Date: Thu, 30 Aug 2007 06:12:01 +0200 From: Nikola Lecic <nlecic@EUnet.yu> To: Garrett Cooper <youshi10@u.washington.edu> Cc: opik133@students.itb.ac.id, freebsd-ports@FreeBSD.org Subject: Re: how to install package from local drive? Message-ID: <200708300258.l7U2wWYM029694@smtpclu-7.EUnet.yu> In-Reply-To: <46D63F8E.7010607@u.washington.edu> References: <1509.167.205.64.182.1188444629.squirrel@students.itb.ac.id> <46D63F8E.7010607@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Aug 2007 20:54:54 -0700 Garrett Cooper <youshi10@u.washington.edu> wrote: > opik133@students.itb.ac.id wrote: > > i want to ask > > > > how to install package from local hard drive. > > > > i use this freebsd for desktop and i don't have internet connection. > > i download some package (13 GB), and i only have freebsd partition > > 6.5 GB > > > > what should i do? > > =20 >=20 > pkg_add [.tbz file] will do the trick. > See pkg_add(1) for more details. ... and see portupgrade(1) (man page) for more advanced use of packages, especially -P/-PP command line arguments and EXAMPLES section. In a word, if you have a heap of downloaded packages, setting PKG_PATH and PKG_FETCH variables (in env or /usr/local/etc/pkgtools.conf) and using -PP will do a massive package-install/update: # setenv PKG_PATH .../.../... # setenv PKG_FETCH /bin/false # portupgrade -N -PP ... or # portupgrade -a -PP Nikola Le=C4=8Di=C4=87
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708300258.l7U2wWYM029694>