.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "dpkg-vendor 1" .TH dpkg-vendor 1 2026-03-06 1.23.7-dirty "dpkg suite" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dpkg\-vendor \- queries information about distribution vendors .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdpkg\-vendor\fR [\fIoption\fR...] \fIcommand\fR .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBdpkg\-vendor\fR is a tool to query information about vendors listed in \&\fB/etc/dpkg/origins\fR. \&\fB/etc/dpkg/origins/default\fR contains information about the current vendor. .PP The origin files provide metadata about specific vendors, such as their URL or where to file bug reports, and are usually used both to determine the behavior of tools and resulting contents during package builds targeting a specific vendor, and to describe the provenance of packages. .PP Packages can explicitly declare their vendor by including an \fBOrigin\fR field, otherwise the vendor for a package without such field is assumed to be the one pointed to by the \fIdefault\fR origin symbolic link. .PP The \fIdefault\fR symbolic link is also used to denote the origin of the current installation managed by \fBdpkg\fR, be that a full distribution or an overlay on top of an existing base system that contains either no packaging system or a native one. .PP This program was introduced in dpkg 1.15.1. .SH COMMANDS .IX Header "COMMANDS" .IP "\fB\-\-is\fR \fIvendor\fR" 4 .IX Item "--is vendor" Exits with \fB0\fR if the current vendor is \fIvendor\fR. Otherwise exits with \fB1\fR. .IP "\fB\-\-derives\-from\fR \fIvendor\fR" 4 .IX Item "--derives-from vendor" Exits with \fB0\fR if the current vendor distribution is a derivative of \&\fIvendor\fR, otherwise exits with \fB1\fR. It uses the \fBParent\fR field to browse all ancestors of the current vendor. .IP "\fB\-\-query\fR \fIfield\fR" 4 .IX Item "--query field" Print on standard output the value of the vendor\-specific \fIfield\fR for the current vendor. .IP \fB\-\-help\fR 4 .IX Item "--help" Show the usage message and exit. .IP \fB\-\-version\fR 4 .IX Item "--version" Show the version and exit. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-\-vendor\fR \fIvendor\fR" 4 .IX Item "--vendor vendor" Assumes the current vendor is \fIvendor\fR instead of discovering it with the \fBDEB_VENDOR\fR environment variable or \&\fB/etc/dpkg/origins/default\fR. .SH ENVIRONMENT .IX Header "ENVIRONMENT" .IP \fBDEB_VENDOR\fR 4 .IX Item "DEB_VENDOR" This setting defines the current vendor. If not set, it will discover the current vendor by reading \fB/etc/dpkg/origins/default\fR. .IP \fBDPKG_COLORS\fR 4 .IX Item "DPKG_COLORS" Sets the color mode (since dpkg 1.18.5). The currently accepted values are: \fBauto\fR (default), \fBalways\fR and \&\fBnever\fR. .IP \fBDPKG_NLS\fR 4 .IX Item "DPKG_NLS" If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support (since dpkg 1.19.0). The accepted values are: \fB0\fR and \fB1\fR (default). .SH FILES .IX Header "FILES" .SS "Packaging support" .IX Subsection "Packaging support" .IP \fB/usr/share/dpkg/vendor.mk\fR 4 .IX Item "/usr/share/dpkg/vendor.mk" Makefile snippet that sets the current vendor and its parent into variables, and provides make macros to check for derivatives (since dpkg 1.16.1). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdeb\-origin\fR\|(5).