---
name: "dbp-get"
section: "1"
platform: "linux"
package: "darcs-buildpackage"
version: "0.5.12.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/dbp-get"
---

# dbp-get(1)

Check out a Debian package from a Darcs repository

## NAME

dbp-get - Check out a Debian package from a Darcs repository

## SYNOPSIS

**dbp-get** \[ *package ...* \]

## DESCRIPTION

The dbp-get command is used to check out a copy of the Debian source for a package from Darcs.  Additionally, it can automatically download a copy from any of several mirrors if the Darcs repository doesn't already exist locally.

## OPTIONS

The one option specifies the name of the package to get.

## CONFIGURATION

Configuration happens in *~/.darcs-buildpackage* like with all the other commands.  The two new options are *debianmirrors* and *upstreammirrors*.  They are whitespace-separated lists of mirrors to check if the given package isn't in the local area.  Here's an example:

```
repobase = /home/jgoerzen/debdarcs
upstreamrepo = %(repobase)s/%(package)s.upstream
debianrepo = %(repobase)s/%(package)s
debianmirrors = http://darcs.complete.org/debian/%(package)s
        http://somewhereelse.example.com/debian/%(package)s
upstreammirrors = http://darcs.complete.org/debian/%(package)s.upstream
        http://foo.example.com/upstream/%(package)s
```

## SEE ALSO

Detailed usage information, including a background and a description of how the tools fit together, can be found in the darcs-buildpackage Manual.  On Debian systems, you may find this at */usr/share/doc/darcs-buildpackage*.

**darcs-buildpackage** applications have references in that manual and the following manpages:  [**dbp-importdsc**(1)](/dbp-importdsc/1.md), [**dbp-importorig**(1)](/dbp-importorig/1.md), [**dbp-markdeb**(1)](/dbp-markdeb/1.md), [**darcs-buildpackage**(1)](/darcs-buildpackage/1.md).

Other related references include: [**darcs**(1)](/darcs/1.md), [**debuild**(1)](/debuild/1.md), [**dpkg-buildpackage**(1)](/dpkg-buildpackage/1.md).
