GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKG-FETCH(8) FreeBSD System Manager's Manual PKG-FETCH(8)

pkg fetch
fetch remote packages

pkg fetch [-r reponame] [-dqUy] [-Cgix] pkg-name [...]

pkg fetch [-r reponame] [-o destdir] [-dqUy] -a

pkg fetch [-r reponame] [-dqUy] -u


pkg fetch [--repository reponame] [--output destdir] [--{dependencies,quiet,no-repo-update,yes}] [--{case-sensitive,glob,case-insensitive,regex}] pkg-name [...]

pkg fetch [--repository reponame] [--{dependencies,quiet,no-repo-update,yes}] --all

pkg fetch [--repository reponame] [--{dependencies,quiet,no-repo-update,yes}] --available-updates

pkg fetch is used to download binary packages from a remote repository.

One or more packages, or patterns can be specified.

Package repository catalogues will be automatically updated whenever pkg fetch is run by a user ID with write access to the package database, unless disabled by the -U flag or setting REPO_AUTOUPDATE to NO in pkg.conf(5).

The following options are supported by pkg fetch:
, --all
Fetch all packages.
destdir, --output destdir
Place files in a sub-directory called All of the specified directory. In this mode, packages are fetched for distribution instead of placing them into the internal cache.
, --case-sensitive
Make the standard or the regular expression (-x) matching against pkg-name case sensitive.
, --dependencies
Fetch the package and its dependencies as well.
, --glob
Treat pkg-name as a shell glob pattern.
, --case-insensitive
Make the standard or regular expression (-x) matching against pkg-name case insensitive. This is the default, unless modified by setting CASE_SENSITIVE_MATCH to true in pkg.conf.
, --quiet
Quiet mode. Show less output.
reponame, --repository reponame
Fetches packages from the given reponame if multiple repo support is enabled. See pkg.conf(5).
, --available-updates
Fetch all available updates for the currently installed packages.
, --no-repo-update
Suppress the automatic update of the local copy of the repository catalogue from remote. Automatic repository catalogue updates are only attempted when the effective UID of the process has write access to the package database. Otherwise they are silently ignored.
, --regex
Treat pkg-name as a regular expression according to the "modern" or "extended" syntax of re_format(7).
, --yes
Assume yes when asked for confirmation before fetching packages.

The following environment variables affect the execution of pkg fetch:
 
 

See pkg.conf(5) for additional environment variables that control behaviour.

See pkg.conf(5).

pkg_create(3), pkg_printf(3), pkg_repos(3), pkg-keywords(5), pkg-lua-script(5), pkg-repository(5), pkg-script(5), pkg-triggers(5), pkg.conf(5), pkg(8), pkg-add(8), pkg-alias(8), pkg-annotate(8), pkg-audit(8), pkg-autoremove(8), pkg-backup(8), pkg-check(8), pkg-clean(8), pkg-config(8), pkg-create(8), pkg-delete(8), pkg-info(8), pkg-install(8), pkg-lock(8), pkg-query(8), pkg-register(8), pkg-repo(8), pkg-rquery(8), pkg-search(8), pkg-set(8), pkg-shell(8), pkg-shlib(8), pkg-ssh(8), pkg-stats(8), pkg-triggers(8), pkg-update(8), pkg-updating(8), pkg-upgrade(8), pkg-version(8), pkg-which(8)
September 20, 2015 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.