Интерактивная система просмотра системных руководств (man-ов)
>> dget (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
dget -- Download Debian source and binary packages
- dget [options] URL
- dget [options] package[=version]
downloads Debian packages. In the first form, dget
the requested URL
. If this is a .dsc or .changes file, then dget
acts as a source-package aware form of wget
: it also fetches any
files referenced in the .dsc/.changes file. When the -x
given, the downloaded source is also unpacked by dpkg-source
In the second form, dget downloads a binary package (i.e., a
.deb file) from the Debian mirror configured in
/etc/apt/sources.list. Unlike apt-get install -d, it does not
require root privileges, writes to the current directory, and does not
download dependencies. If a version number is specified, this version
of the package is requested.
Before downloading files listed in .dsc and .changes files, and before
downloading binary packages, dget checks to see whether any of
these files already exist. If they do, then their md5sums are
compared to avoid downloading them again unnecessarily. dget also
looks for matching files in /var/cache/apt/archives and directories
given by the --path option or specified in the configuration files
(see below). Finally, if downloading (.orig).tar.gz or .diff.gz files
fails, dget consults apt-get source --print-uris. Download backends
used are curl and wget, looked for in that order.
dget was written to make it easier to retrieve source packages from
the web for sponsor uploads. For checking the package with
debdiff, the last binary version is available via dget
package, the last source version via apt-get source package.
- -b, --backup
Move files that would be overwritten to ./backup.
- -q, --quiet
Suppress wget/curl non-error output.
- -x, --extract
Run dpkg-source -x on the downloaded source package. This can only
be used with the first method of calling dget.
- --path DIR[:DIR...]
In addition to /var/cache/apt/archives, dget uses the
colon-separated list given as argument to --path to find files with
a matching md5sum. For example: ``--path
/srv/pbuilder/result:/home/cb/UploadQueue''. If DIR is empty (i.e.,
"--path ''`` is specified), then any previously listed directories
or directories specified in the configuration files will be ignored.
This option may be specified multiple times, and all of the
directories listed will be searched; hence, the above example could
have been written as: ''--path /srv/pbuilder/result --path
Allow SSL connections to untrusted hosts.
Bypass server-side HTTP caches by sending a Pragma: no-cache header.
- -h, --help
Show a help message.
- -V, --version
Show version information.
The two configuration files /etc/devscripts.conf
are sourced by a shell in that order to set
configuration variables. Command line options can be used to override
configuration file settings. Environment variable settings are
ignored for this purpose. The currently recognised variable is:
This can be set to a colon-separated list of directories in which to
search for files in addition to the default
/var/cache/apt/archives. It has the same effect as the --path
command line option. It is not set by default.
should be implemented in apt-get install -d
This program is Copyright (C) 2005-07 by Christoph Berg <email@example.com
Modifications are Copyright (C) 2005-06 by Julian Gilbey <firstname.lastname@example.org
This program is licensed under the terms of the GPL, either version 2
of the License, or (at your option) any later version.
- CONFIGURATION VARIABLES
- SEE ALSO