How to Install and Uninstall cargo-doc Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: December 27,2024
1. Install "cargo-doc" package
This tutorial shows how to install cargo-doc on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
cargo-doc
Copied
2. Uninstall "cargo-doc" package
This guide covers the steps necessary to uninstall cargo-doc on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
cargo-doc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the cargo-doc package on Ubuntu 21.04 (Hirsute Hippo)
Package: cargo-doc
Architecture: all
Version: 0.51.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: 16017
Filename: pool/universe/c/cargo/cargo-doc_0.51.0-0ubuntu1_all.deb
Size: 1149072
MD5sum: d58ee50486d5493c304ccfdcf02eacc2
SHA1: 7ed78ce6557a51bcc2245d6fb3af606b4c3736ba
SHA256: 70d43d191964eb273408c4c33aa5d04ecf94b3207ba57d92c4746010a3273756
SHA512: b6de1b56d8a879642aa26d6a05bddb47510d27808271abd1b1346575d3dca63332429c23905856b0ad5e9bf3ec6b0c4c590da9efe8ff73d866f785c512943261
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
Architecture: all
Version: 0.51.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: 16017
Filename: pool/universe/c/cargo/cargo-doc_0.51.0-0ubuntu1_all.deb
Size: 1149072
MD5sum: d58ee50486d5493c304ccfdcf02eacc2
SHA1: 7ed78ce6557a51bcc2245d6fb3af606b4c3736ba
SHA256: 70d43d191964eb273408c4c33aa5d04ecf94b3207ba57d92c4746010a3273756
SHA512: b6de1b56d8a879642aa26d6a05bddb47510d27808271abd1b1346575d3dca63332429c23905856b0ad5e9bf3ec6b0c4c590da9efe8ff73d866f785c512943261
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