How to Install and Uninstall cargo-doc Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 05,2024

1. Install "cargo-doc" package

Learn how to install cargo-doc on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install cargo-doc

2. Uninstall "cargo-doc" package

In this section, we are going to explain the necessary steps to uninstall cargo-doc on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the cargo-doc package on Ubuntu 20.04 LTS (Focal Fossa)

Package: cargo-doc
Architecture: all
Version: 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04
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: 48256
Recommends: rust-doc
Filename: pool/universe/r/rustc/cargo-doc_1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04_all.deb
Size: 2755676
MD5sum: 2a786bf021e464d7afe13ac1b99aa772
SHA1: d8b5208ef06d4fa2a3680a1f940d6d597cee1429
SHA256: d2851077e193e45df8f40afd6588f96645b9b8fe0753b2cf6308df4b74618baa
SHA512: df4ac089a92acc3cac476d20bf9148a804b80a101d70d8c0bafc420c2bb92722eb595edde6a0ba5ecb41e5caac2c09a01014b3b0a6c829e3d8e0bd5c1c313576
Homepage: http://www.rust-lang.org/
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c

Package: cargo-doc
Architecture: all
Version: 1.71.1+dfsg0ubuntu3~bpo0-0ubuntu0.20.04
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: 47356
Recommends: rust-doc
Filename: pool/universe/r/rustc/cargo-doc_1.71.1+dfsg0ubuntu3~bpo0-0ubuntu0.20.04_all.deb
Size: 2717608
MD5sum: 68c072cceca172f5d93a7480fbfb8f5d
SHA1: 6ff17b0450d586cb85b9c58c547aa7881fd31772
SHA256: 2c6bb54c1ca396ffe36a1312909d669d41971cd3020ecc309d23e52f866ccbcd
SHA512: 0d99bd513f5ec739af9abcef5e7aaa231bd883a3da6c2ac8460b7441155232fcc6719c1d258cac8de801452f8e12006ee5b87c2596ce508909761a6fa7be05e8
Homepage: http://www.rust-lang.org/
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c

Package: cargo-doc
Architecture: all
Version: 1.70.0+dfsg0ubuntu1~bpo2-0ubuntu0.20.04.1
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: 54409
Recommends: rust-doc
Filename: pool/universe/r/rustc/cargo-doc_1.70.0+dfsg0ubuntu1~bpo2-0ubuntu0.20.04.1_all.deb
Size: 2801324
MD5sum: 3574ec0f5ddcc27dc45e1b5141ad769b
SHA1: 0df7a31922bd090efffd51ea62b95322839c5fa2
SHA256: e7c156ee18bd39ccbf5e4d473ce05dd39e69ebd84ad131c89d820600a1a6a54c
SHA512: 83cf95cfc1a2c935cc61be91c20b4b977c08bde184497846f6ac0e561b398f8767c6e05b788255366b3dd998941a1303e7272c9daa0ffabe55e1b83ffb1eff19
Homepage: http://www.rust-lang.org/
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c

Package: cargo-doc
Architecture: all
Version: 0.42.0-0ubuntu1
Priority: extra
Section: universe/doc
Source: cargo
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19662
Filename: pool/universe/c/cargo/cargo-doc_0.42.0-0ubuntu1_all.deb
Size: 1241800
MD5sum: 8988443556f17d029345ce397fed0fa6
SHA1: 5e4e8b8f1b4786b0fbb8a958287866d54903ac65
SHA256: eb492477a5245c356f6a1da6c0ae5ede4b783f972ce4c2a60a63b85557966e14
Homepage: https://crates.io/
Description: Rust package manager, documentation
Description-md5: f27438963e0fd905872c0e1656b9d40c