how to install package from local drive?
Nikola Lecic
nlecic at EUnet.yu
Wed Aug 29 21:17:22 PDT 2007
On Wed, 29 Aug 2007 20:54:54 -0700
Garrett Cooper <youshi10 at u.washington.edu> wrote:
> opik133 at 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?
> >
>
> 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ć
More information about the freebsd-ports
mailing list