Linux command
dget 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
dget [package]
Example
dget [http://deb.debian.org/debian/pool/main/p/package/package_1.0.dsc]
Download only
dget -d [http://deb.debian.org/debian/pool/main/p/package/package_1.0.dsc]
说明
dget downloads Debian packages. It can download binary packages from repositories or source packages from .dsc URLs. When given a .dsc URL, it fetches all source components and optionally extracts them. Part of the devscripts package, commonly used for package development.
参数
- -d, --download-only
- Download without extracting
- -u, --unsigned
- Don't verify signatures
- -x
- Extract source package
- -b
- Only get .orig.tar if necessary
FAQ
What is the dget command used for?
dget downloads Debian packages. It can download binary packages from repositories or source packages from .dsc URLs. When given a .dsc URL, it fetches all source components and optionally extracts them. Part of the devscripts package, commonly used for package development.
How do I run a basic dget example?
Run `dget [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --download-only do in dget?
Download without extracting