How to Install and Uninstall dh-cargo Package on Kali Linux

Last updated: May 20,2024

1. Install "dh-cargo" package

Please follow the instructions below to install dh-cargo on Kali Linux

$ sudo apt update $ sudo apt install dh-cargo

2. Uninstall "dh-cargo" package

Please follow the guidelines below to uninstall dh-cargo on Kali Linux:

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

3. Information about the dh-cargo package on Kali Linux

Package: dh-cargo
Version: 31
Installed-Size: 36
Maintainer: Rust Maintainers
Architecture: all
Provides: dh-sequence-cargo
Depends: cargo (>= 0.40.0-3~~), debhelper, python3, perl:any
Size: 10344
SHA256: 769942367c0dadb9aa8864558525eaf5f371b56c7f21d366e3c63b7b0b3f76d6
SHA1: 9ac1525a818e0527802e63ded8ff24569bde2c3c
MD5sum: 93a590535ab6143c92f02cfe09170790
Description: debhelper buildsystem for Rust crates using Cargo
dh-cargo provides a debhelper buildsystem to build Rust crates using Cargo.
.
This builds Debian rust crates to be installed into a system-level crate
registry in /usr/share/cargo/registry containing crates that can be used and
Build-Depended upon by other Debian packages.
.
Debian packages generated by debcargo use this buildsystem; packagers are not
expected to use this directly. If you have a multi-language program such as
firefox or librsvg that includes private Rust crates not exposed to others,
you should instead use Debian's cargo wrapper /usr/share/cargo/bin/cargo in
the cargo package, and Build-Depends on that instead of this package.
Description-md5:
Multi-Arch: foreign
Section: rust
Priority: optional
Filename: pool/main/d/dh-cargo/dh-cargo_31_all.deb