How to Install and Uninstall dh-cargo Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 06,2024

1. Install "dh-cargo" package

This tutorial shows how to install dh-cargo on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install dh-cargo

2. Uninstall "dh-cargo" package

Please follow the steps below to uninstall dh-cargo on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the dh-cargo package on Ubuntu 20.10 (Groovy Gorilla)

Package: dh-cargo
Architecture: all
Version: 24
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: debhelper (>= 10), perl:any, cargo (>= 0.40.0-3~~), python3
Filename: pool/universe/d/dh-cargo/dh-cargo_24_all.deb
Size: 9280
MD5sum: 6a1b6dd1b95a05108055409e412f7a96
SHA1: 630fb17d4f005f7fda047d758117dc3c9efa27fa
SHA256: ce76ddead0f43037e14d7e2e8e72fac89b9cd0d7e63494cd75995e367f669226
SHA512: a5458c283517310272989aaa8cf6f99988cd0a45839bb8f568da799a74b474bf875f60b3712e8aa2fd67701e50f2af279f71c33b8a21ca6ebe970e5dc7b545af
Description-en: 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 our cargo wrapper /usr/share/cargo/bin/cargo in the
cargo package, and Build-Depends on that instead of this package.
Description-md5: f290b33415961585a45b7c3f0cdc6e3d