PULL-PKG(1)
π PULL-PKG π
okay bestie, so this is a General Commands Manual page, pull-pkg(1), and it's genuinely one of the most useful lil tools in the whole ubuntu-dev-tools fam. sit down, grab a boba, let's go π§β¨
β¨ NAME β¨
pull-pkg β download a package for Debian, Ubuntu, UCA, or a PPA π«Ά
π SYNOPSIS π
pull-pkg [options] <package name> [release|version]
π DESCRIPTION π
so like, pull-pkg downloads the version of <package name> you ask for, or literally the latest version from the release you name. iconic behaviour, no notes.
if you want a version from a particular pocket, you say release-pocket β and there's a magic one, -release, that means only the release pocket. if you don't specify a pocket at all, every pocket gets searched except -backports. and if you don't specify a version or a release either? it just grabs the latest version in the development release. easy. slay. π
now here's the part where it gets really cute: there are convenience scripts that already set your pull type and distribution for you, so you don't have to type all that out. obsessed:
pull-lp-source,pull-lp-debs,pull-lp-ddebs, andpull-lp-udebsβ all pull Ubuntu packagespull-debian-source,pull-debian-debs,pull-debian-ddebs, andpull-debian-udebsβ all pull Debian packagespull-uca-source,pull-uca-debs,pull-uca-ddebs, andpull-uca-udebsβ all pull Ubuntu Cloud Archive packagespull-ppa-source,pull-ppa-debs,pull-ppa-ddebs, andpull-ppa-udebsβ all pull from a specified Personal Package Archive on Launchpad
and each one pulls the file type that's literally right there in its name, i.e. source, debs, ddebs, or udebs. the way that the name just tells you?? main character energy fr fr. π
β¨ OPTIONS β¨
here's the whole lineup of command line options for pull-pkg, bestie. every single one. we do not skip. π
package nameβ this is the name of the package to be downloaded. you can use either the source package name, or the binary package name. either one works, we're not picky πversionβ this is the version of the package to be downloaded.releaseβ this is the release to download from. for debian, you can use either the release name likejessieorsid, or you can use the special release namesunstable,stable, ortesting. for ubuntu, you can use either the release name likexenialor the release-pocket likexenial-proposed. for ubuntu cloud archive (uca) you can use either the uca release name likemitakaor the ubuntu and uca release names liketrusty-mitaka. defaults to the current development release. πΈ-h,--helpβ display a help message and exit. your lil emergency exit door πͺβ¨-v,--verboseβ be verbose about what is being done. it'll narrate its life to you, and honestly? we love a transparent queen π-d,--download-onlyβ do not extract the source package (this only applies to source packages, jsyk). download and chill, no unpacking ποΈ-m MIRROR,--mirror=MIRRORβ use the specified mirror server. should be in the formhttp://archive.ubuntu.com/ubuntuorhttp://deb.debian.org/debian. if you don't specify one, or if the package isn't found on the mirror you specified, this will fall back to the default mirror(s) and/or mirror(s) from environment variables, and then will fall back to Launchpad or Debian Snapshot. and yes, you can specify this multiple times to try multiple mirrors. it's giving backup plan, backup backup plan π₯--no-confβ do not use mirrors from the default configuration, or from any environment variables. just... none of them. going rogue, respect π«‘-a ARCH,--arch=ARCHβ get binary packages from theARCHarchitecture. defaults to the local architecture, if it can be deteected. (yes, "deteected". we're keeping the typo, it's canon now ππ)-p PULL,--pull=PULLβ what to pull:source,debs,ddebs,udebs, orlist. thelistaction only lists all a package's source and binary files, but does not actually download any. defaults tosource. π-D DISTRO,--distro=DISTROβ pull from:debian,uca,ubuntu, or a ppa.lpcan be used instead ofubuntu. any string containingcloudcan be used instead ofuca. if pulling from a ppa, you must specify the PPA. defaults toubuntu. π--ppa=ppa:USER/NAMEβ applies only when distro is ppa. can be provided either as a value to the--ppaoption parameter, or as a plain option (likereleaseorversion). when specified as a plain option, the form must beppa:USER/NAME; when specified as a value to the--ppaoption parameter, the leadingppa:is optional. flexible but with β¨rulesβ¨, iykyk π
πΈ ENVIRONMENT πΈ
all of the CONFIGURATION VARIABLES down below are also supported as environment variables, bestie. and listen: variables in the environment take precedence over those in configuration files. env wins, periodt. π
π¦ CONFIGURATION VARIABLES π¦
the following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. and in each case, the script-specific variable takes precedence over the package-wide variable. hierarchy matters, we respect the chain of command π
UBUNTUTOOLS_UBUNTU_MIRRORβ the default mirror. πPULL_PKG_UBUNTU_MIRRORβ the default mirror when using thepull-pkgscript. πPULL_[LP|DEBIAN|PPA|UCA]_[SOURCE|DEBS|DDEBS|UDEBS]_MIRRORβ the default mirror when using the associated script. the square brackets go crazy, so many combos, so many vibes β¨
π SEE ALSO π
go read these too, they're all part of the friend group:
dget(1), pull-lp-source(1), pull-lp-debs(1), pull-lp-ddebs(1), pull-lp-udebs(1), pull-debian-source(1), pull-debian-debs(1), pull-debian-ddebs(1), pull-debian-udebs(1), pull-ppa-source(1), pull-ppa-debs(1), pull-ppa-ddebs(1), pull-ppa-udebs(1), pull-uca-source(1), pull-uca-debs(1), pull-uca-ddebs(1), pull-uca-udebs(1), pull-debian-debdiff(1), ubuntu-dev-tools(5)
π«Ά AUTHOR π«Ά
pull-pkg was written by Dan Streetman <ddstreet@canonical.com>, based on the original pull-lp-source; it and this manual page were written by Iain Lane <iain@orangesquash.org.uk>. all of them are released under the GNU General Public License, version 3 or later. give them their flowers, they earned them ππ
and that's the whole page, bestie!! this one's from the ubuntu-dev-tools manual, version dated 28 August 2017. go forth and pull those packages, you absolute legend π¦β¨π
π¦ where this page comes from
- debian bookworm: ubuntu-dev-tools 0.193 Β· GPL-2.0-only
- debian trixie: ubuntu-dev-tools 0.206 Β· GPL-2.0-only
- ubuntu jammy: ubuntu-dev-tools 0.189 Β· GPL-2.0-only
- ubuntu jammy: ubuntu-dev-tools 0.201ubuntu2~22.04.4 Β· GPL-2.0-only
- ubuntu noble: ubuntu-dev-tools 0.201ubuntu2 Β· GPL-2.0-only
- ubuntu questing: ubuntu-dev-tools 0.206
- ubuntu resolute: ubuntu-dev-tools 0.210 Β· GPL-2.0-only
- ubuntu stonking: ubuntu-dev-tools 0.215 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms