---
name: "debcargo-extract"
section: "1"
platform: "linux"
package: "debcargo"
version: "2.7.8-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/debcargo-extract"
---

# debcargo-extract(1)

Extract only a crate, without any other transformations

## NAME

debcargo-extract - Extract only a crate, without any other transformations

## SYNOPSIS

**debcargo extract** \[**--config**\] \[**--directory**\] \[**-h**\|**--help**\] \<*CRATE\_NAME*\> \[*VERSION*\]

## DESCRIPTION

Extract only a crate, without any other transformations

## OPTIONS

- **--config**=*CONFIG*

  TOML file providing package-specific options

- **--directory**=*DIRECTORY*

  Output directory for the package. The orig tarball is named according to Debian conventions in the parent directory of this directory

- **-h**, **--help**

  Print help

- \<*CRATE\_NAME*\>

  Name of the crate to package

- \[*VERSION*\]

  Version of the crate to package; may contain dependency operators. If empty string or omitted, resolves to the latest version
