How to Install and Uninstall dh-cargo Package on Debian 12 (Bookworm)

Last updated: May 21,2024

1. Install "dh-cargo" package

This guide covers the steps necessary to install dh-cargo on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install dh-cargo

2. Uninstall "dh-cargo" package

Please follow the steps below to uninstall dh-cargo on Debian 12 (Bookworm):

$ sudo apt remove dh-cargo $ sudo apt autoclean && sudo apt autoremove

3. Information about the dh-cargo package on Debian 12 (Bookworm)

Package: dh-cargo
Version: 30
Installed-Size: 36
Maintainer: Rust Maintainers
Architecture: all
Provides: dh-sequence-cargo
Depends: cargo (>= 0.40.0-3~~), debhelper, python3, perl:any
Description: debhelper buildsystem for Rust crates using Cargo
Description-md5: 5d673cf67735dd305fc8bfe717fef40a
Multi-Arch: foreign
Section: rust
Priority: optional
Filename: pool/main/d/dh-cargo/dh-cargo_30_all.deb
Size: 10276
MD5sum: 4b2fc41d2beac123ad61eb54d6879c61
SHA256: 9d5b39784e277847632780a98b6bf751a7b3b64b4350ab270b413469aed02493