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

Last updated: November 22,2024

1. Install "cargo-doc" package

This is a short guide on how to install cargo-doc on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install cargo-doc

2. Uninstall "cargo-doc" package

This tutorial shows how to uninstall cargo-doc on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: cargo-doc
Architecture: all
Version: 0.47.0-1~exp1ubuntu1~20.10.1
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: 16716
Filename: pool/universe/c/cargo/cargo-doc_0.47.0-1~exp1ubuntu1~20.10.1_all.deb
Size: 1176532
MD5sum: b67f37e66b4a4f9401c19ac9520f0f6e
SHA1: 91c2a9d7a705dc37f1a7327b43fa4388c6494a3b
SHA256: 58cf0bfdaf9fdbc9a44ef3c608fb91b7c5e5aaf1553dec8229ef675968bbca54
SHA512: 02af0dc4ac6730b09aa6f07b4f6f33b9a3fb3f859a7f196f8b50ce90c03991c3aa4881a345b07976b73ea4534b1302a12f047c8c9fac2104bd1c37ab1839d7df
Homepage: https://crates.io/
Description-en: Rust package manager, documentation
Cargo is a tool that allows Rust projects to declare their various
dependencies, and ensure that you'll always get a repeatable build.
.
To accomplish this goal, Cargo does four things:
* Introduces two metadata files with various bits of project information.
* Fetches and builds your project's dependencies.
* Invokes rustc or another build tool with the correct parameters to build
your project.
* Introduces conventions, making working with Rust projects easier.
.
Cargo downloads your Rust project’s dependencies and compiles your
project.
.
This package contains the documentation.
Description-md5: f27438963e0fd905872c0e1656b9d40c

Package: cargo-doc
Architecture: all
Version: 0.44.1-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: 17137
Filename: pool/universe/c/cargo/cargo-doc_0.44.1-0ubuntu1_all.deb
Size: 1181324
MD5sum: 1df4cfb19713236909b401834311a1c2
SHA1: c607c2fbff3dfde97e7f663871c32089fbd3284f
SHA256: 667aefc419515825bf31b09f503357d0ed2c90bfe202ef35c07239f211ee9117
SHA512: 3bd8a05dd667737d760f24dc7c9ccabfa41f47b9a384fcc422500ec0c3b8c11ddc764e2b839a45faea04390efc961e661aab3864b8b08792ab06edf1b5d692fc
Homepage: https://crates.io/
Description-en: Rust package manager, documentation
Cargo is a tool that allows Rust projects to declare their various
dependencies, and ensure that you'll always get a repeatable build.
.
To accomplish this goal, Cargo does four things:
* Introduces two metadata files with various bits of project information.
* Fetches and builds your project's dependencies.
* Invokes rustc or another build tool with the correct parameters to build
your project.
* Introduces conventions, making working with Rust projects easier.
.
Cargo downloads your Rust project’s dependencies and compiles your
project.
.
This package contains the documentation.
Description-md5: f27438963e0fd905872c0e1656b9d40c