How to Install and Uninstall cargo-doc Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

1. Install "cargo-doc" package

Here is a brief guide to show you how to install cargo-doc on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install cargo-doc

2. Uninstall "cargo-doc" package

Please follow the guidance below to uninstall cargo-doc on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the cargo-doc package on Ubuntu 24.04 LTS (Noble Numbat)

Package: cargo-doc
Architecture: all
Version: 1.75.0+dfsg0ubuntu1-0ubuntu1
Priority: extra
Section: universe/doc
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52940
Recommends: rust-doc
Filename: pool/universe/r/rustc/cargo-doc_1.75.0+dfsg0ubuntu1-0ubuntu1_all.deb
Size: 2551626
MD5sum: 5f825b9dd42670c84cc6eae8c3f5d2e9
SHA1: 529dcf527e6cfde400dd6d7e8652f4a58a8ac6b7
SHA256: e12723594810cabfe08a03d918212b3abff21ee9f051d766034b5dda737c5c75
SHA512: 04c550b9e3a2512fade169a5d4c5ba887b849739d71ac97b65e297d026826373b169be8b22a3050835b9bf5aaef2b453e41c3e23e7ea24832e57f99298a10eb7
Homepage: http://www.rust-lang.org/
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c

Package: cargo-doc
Architecture: all
Version: 1.73.0+dfsg0ubuntu1-0ubuntu1
Priority: extra
Section: universe/doc
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52295
Recommends: rust-doc
Filename: pool/universe/r/rustc/cargo-doc_1.73.0+dfsg0ubuntu1-0ubuntu1_all.deb
Size: 2526388
MD5sum: 7b8edeecc8e9a52ec6f0d15be4934bee
SHA1: 80a623c553abbdeefe70d709b38256d96988f20f
SHA256: 33ad9e065cf7ac03d35aa43de792c4df22f06c3805a37dd8ace5caaa631190ab
SHA512: 424dd3619fc8e19092e765264749b61de735dc395626640c9da921fbb6072e7c6f0728ec1215e23d68f93c1b116c9b134e7754f651dc34135a6be4e18ed5b21f
Homepage: http://www.rust-lang.org/
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c