info > DEBCHECKOUT

DEBCHECKOUT(1) — DEBCHECKOUT(1)

📚 NAME

debcheckout – checkout the development repository of a Debian package

🚀 Quick Reference

Use CaseCommandDescription
📦 Checkout a package’s repodebcheckout PACKAGECheckout the latest version from the VCS repository of a Debian package.
🔐 Authenticated checkoutdebcheckout --auth PACKAGEUse authenticated mode (e.g., SSH) for repositories that allow commits.
📂 Specify destinationdebcheckout PACKAGE DESTDIRCheckout the repository into a specific directory.
🔍 View repository detailsdebcheckout --details PACKAGEPrint detailed information about the repository without checking out.
📄 Print repository infodebcheckout --print PACKAGEPrint a short summary (type + URL) without checking out.
🏷️ Specify VCS typedebcheckout -t TYPE URLOverride repository type detection (e.g., git, svn, bzr).
👤 Authenticated with usernamedebcheckout -u USERNAME PACKAGEUse a specific username in authenticated mode.
📎 Extract specific filedebcheckout -f FILE PACKAGEExtract a single file from the repository.
📥 Download orig.tar.gzdebcheckout --source=always PACKAGEAlways retrieve the orig.tar.gz alongside the checkout.

📋 SYNOPSIS

debcheckout [OPTIONS] PACKAGE [DESTDIR]
debcheckout [OPTIONS] REPOSITORY_URL [DESTDIR]
debcheckout --help

📖 DESCRIPTION

📦 debcheckout retrieves the information about the Version Control System used to maintain a given Debian package (the PACKAGE argument), and then checks out the latest (potentially unreleased) version of the package from its repository. By default the repository is checked out to the PACKAGE directory; this can be overridden by providing the DESTDIR argument.

🌐 The information about where the repository is available is expected to be found in Vcs-* fields available in the source package record. For example, the vim package exposes such information with a field like Vcs-Hg: http://hg.debian.org/hg/pkg-vim/vim, you can see it by grepping through apt-cache showsrc vim.

🔢 If more than one source package record containing Vcs-* fields is available, debcheckout will select the record with the highest version number. Alternatively, a particular version may be selected from those available by specifying the package name as PACKAGE=VERSION.

🔗 If you already know the URL of a given repository you can invoke debcheckout directly on it, but you will probably need to pass the appropriate -t flag. That is, some heuristics are in use to guess the repository type from the URL; if they fail, you might want to override the guessed type using -t.

🛠️ The currently supported version control systems are: Arch (arch), Bazaar (bzr), CVS (cvs), Darcs (darcs), Git (git), Mercurial (hg) and Subversion (svn).

⚙️ OPTIONS

🔹 GENERAL OPTIONS

🔹 VCS-SPECIFIC OPTIONS

🔹 GIT-SPECIFIC OPTIONS

🔧 CONFIGURATION VARIABLES

The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variables are:

🔗 SEE ALSO

👤 AUTHOR

debcheckout and this manpage have been written by Stefano Zacchiroli <zack AT debian.org>.

DEBCHECKOUT
DEBCHECKOUT(1) — DEBCHECKOUT(1) 📚 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION ⚙️ OPTIONS
🔹 GENERAL OPTIONS 🔹 VCS-SPECIFIC OPTIONS 🔹 GIT-SPECIFIC OPTIONS
🔧 CONFIGURATION VARIABLES 🔗 SEE ALSO 👤 AUTHOR

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:01 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!