How to Install and Uninstall cargo-doc Package on Debian 11 (Bullseye)

Last updated: May 16,2024

1. Install "cargo-doc" package

This is a short guide on how to install cargo-doc on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install cargo-doc

2. Uninstall "cargo-doc" package

Learn how to uninstall cargo-doc on Debian 11 (Bullseye):

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

3. Information about the cargo-doc package on Debian 11 (Bullseye)

Package: cargo-doc
Source: cargo
Version: 0.47.0-3
Installed-Size: 16948
Maintainer: Rust Maintainers
Architecture: all
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c
Homepage: https://crates.io/
Section: doc
Priority: optional
Filename: pool/main/c/cargo/cargo-doc_0.47.0-3_all.deb
Size: 1198496
MD5sum: 5b0195d39714d090f2230185f211034b
SHA256: 14f6787bf7bfe24054299fdfac4da05b65446fa004cc9d4d6c705ee3952afe2b