On Wed, 29 Aug 2007 20:54:54 -0700
Garrett Cooper <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] 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?
> >   
> 
>     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čić
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to