pkg_add without after-install deleting

Matthew Seaman m.seaman at
Tue Apr 15 02:34:10 PDT 2003

On Tue, Apr 15, 2003 at 10:49:55AM +0400, Vladik Kozin wrote:
> I'd like all the packages (including dependencies) downloaded by
> $pkg_add -r foo_pkg
> command to stay undeleted after being installed. How can this be achieved?

Try using pkg_fetch(1) to download the binary packages.  Eg. to
download the packages required to install, say, mozilla and all of the
dependencies required before you can install mozilla:

    # pkg_fetch -Rf mozilla@

The packages will be saved in /usr/ports/packages by default, and you
can use pkg_add(1) to install them from there.

pkg_fetch(1) is part of the portupgrade suite of tools, which you will
need to install from ports/packages.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list