dpkg-vendor(1)

πŸ’… dpkg-vendor(1) β€” the dpkg suite's own vendor gossip girl

okay so bestie, you're reading the manual page for dpkg-vendor, straight out of the dpkg suite ✨ she's a little tool with one job and she does it flawlessly.

🌸 NAME 🌸

dpkg-vendor β€” literally just queries information about distribution vendors 🫢

✨ SYNOPSIS ✨

dpkg-vendor [option...] command

πŸ¦‹ DESCRIPTION πŸ¦‹

dpkg-vendor is the tool you use to query info about the vendors listed in /etc/dpkg/origins. And /etc/dpkg/origins/default? That one holds the info about the current vendor πŸ‘‘

The origin files are basically the vendor's little profile card β€” metadata about specific vendors, like their URL or where to file bug reports πŸŽ€. They get used for two main-character reasons:

  • to determine the behavior of tools and the resulting contents during package builds targeting a specific vendor
  • to describe the provenance of packages

Packages can explicitly declare their vendor by including an Origin field. And if a package doesn't have that field? Then its vendor is assumed to be the one pointed to by the default origin symbolic link. no cap πŸ’…

That same default symbolic link is also used to denote the origin of the current installation managed by dpkg β€” whether that's a full distribution, or an overlay on top of an existing base system that contains either no packaging system or a native one. lowkey iconic.

This program was introduced in dpkg 1.15.1. vintage, but make it slay πŸŽ€


πŸ‘‘ COMMANDS πŸ‘‘

  • --is vendor β€” exits with 0 if the current vendor is vendor. Otherwise exits with 1. that's it, that's the vibe check ✨
  • --derives-from vendor β€” exits with 0 if the current vendor distribution is a derivative of vendor, otherwise exits with 1. It uses the Parent field to browse all ancestors of the current vendor. it's giving family tree energy 🌈
  • --query field β€” prints on standard output the value of the vendor-specific field for the current vendor 🫢
  • --help β€” shows the usage message and exits πŸ’–
  • --version β€” shows the version and exits ⭐

πŸŽ€ OPTIONS πŸŽ€

  • --vendor vendor β€” assumes the current vendor is vendor instead of discovering it with the DEB_VENDOR environment variable or /etc/dpkg/origins/default. you're just telling her who's who, she's not gonna argue πŸ’…

🧚 ENVIRONMENT 🧚

  • DEB_VENDOR β€” this setting defines the current vendor. If it's not set, it will discover the current vendor by reading /etc/dpkg/origins/default. iykyk 🌸
  • DPKG_COLORS β€” sets the color mode. The currently accepted values are: auto (default), always and never. 🎨

Supported since dpkg 1.18.5.

  • DPKG_NLS β€” if set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support. The accepted values are: 0 and 1 (default). 🌍

Supported since dpkg 1.19.0.

πŸ“ FILES πŸ“

Packaging support πŸ’–

  • /usr/share/dpkg/vendor.mk β€” a Makefile snippet that sets the current vendor and its parent into variables, and provides make macros to check for derivatives. πŸ› οΈ

Supported since dpkg 1.16.1.

πŸ”₯ SEE ALSO πŸ”₯

deb-origin(5) β€” go read that one too, bestie 🫢


okay that's the whole page, you ate that πŸ’…βœ¨ no notes.

and finally, the cute little sign-off at the bottom: this beauty is version 1.23.11-dirty, dated 2026-09-09, and yes β€” it's dpkg-vendor(1) again, because she always comes back to say hi πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from