# man > dpkg-vendor(1)

---
type: CommandReference
command: dpkg-vendor
mode: man
section: 1
source: man-pages
---

## Quick Reference
- `dpkg-vendor --query Vendor` — print the current vendor name
- `dpkg-vendor --is vendor` — check if current vendor matches (exit 0 if yes)
- `dpkg-vendor --derives-from vendor` — check if current vendor is a derivative of given vendor
- `dpkg-vendor --vendor vendor` — explicitly set the vendor for queries
- `dpkg-vendor --help` — show usage
- `dpkg-vendor --version` — show version

## Name
dpkg-vendor — queries information about distribution vendors

## Synopsis
`dpkg-vendor` [*option*...] *command*

## Options

### Commands
- `--is vendor` — exits with 0 if the current vendor is *vendor*, otherwise 1
- `--derives-from vendor` — exits with 0 if the current vendor distribution is a derivative of *vendor*, otherwise 1 (uses the **Parent** field to browse all ancestors)
- `--query field` — print the value of the vendor-specific *field* for the current vendor

### General options
- `--vendor vendor` — assume the current vendor is *vendor* instead of discovering it from the `DEB_VENDOR` environment variable or `/etc/dpkg/origins/default`
- `--help` — show the usage message and exit
- `--version` — show the version and exit

## Environment
- `DEB_VENDOR` — defines the current vendor. If not set, discovers the current vendor by reading `/etc/dpkg/origins/default`
- `DPKG_COLORS` — sets the color mode (since dpkg 1.18.5). Accepted values: `auto` (default), `always`, `never`
- `DPKG_NLS` — if set, decides whether to activate Native Language Support (i18n) (since dpkg 1.19.0). Accepted values: `0` and `1` (default)

## See Also
[deb-origin(5)](https://www.chedong.com/phpMan.php/man/deb-origin/5/markdown)