---
name: "dpt-checkout"
section: "1"
platform: "linux"
package: "pkg-perl-tools"
version: "0.82"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dpt-checkout"
---

# dpt-checkout(1)

work on a pkg-perl package

## NAME

dpt-checkout - work on a pkg-perl package

## SYNOPSIS

**dpt checkout** *package-name* \[*package-name* ...\]

**dpt co** *package-name* \[*package-name* ...\]

## DESCRIPTION

**dpt checkout** checks out a working copy for the packaging of a given package.

If you use [**dpt-shell-lib**(1)](/dpt-shell-lib/1.md), **dpt checkout** even puts you in the directory of working copy if you checked out only one source package.

If the package directory exists, the clone is updated by calling [**gbp-pull**(1)](/gbp-pull/1.md). If it doesn't exist, it is cloned off pkg-perl git repositories via [**gbp-clone**(1)](/gbp-clone/1.md).

If there is an upstream repository information in *debian/upstream/metadata*, [**dpt-upstream-repo**(1)](/dpt-upstream-repo/1.md) is invoked to add it as a Git remote.

**dpt co** is an alias for **dpt checkout**.

## CONFIGURATION

**dpt checkout** uses the `"DPT_PACKAGES"` environment variable. If `"DPT_PACKAGES"` is not defined, the current working directory is used.

See [**dpt-config**(5)](/dpt-config/5.md) for details.

## COPYRIGHT & LICENSE

- Copyright 2013-2019 gregor herrmann gregoa@debian.org

  - Copyright 2013, 2014 Damyan Ivanov dmn@debian.org

  - Copyright 2013 Axel Beckert abe@debian.org

  This program is free software, licensed under the same term as perl.
