How to Install and Uninstall cargo Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 29,2024

1. Install "cargo" package

This is a short guide on how to install cargo on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

This is a short guide on how to uninstall cargo on Ubuntu 21.10 (Impish Indri):

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

3. Information about the cargo package on Ubuntu 21.10 (Impish Indri)

Package: cargo
Architecture: amd64
Version: 0.54.0-0ubuntu1~21.10.1
Multi-Arch: allowed
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11921
Depends: libc6 (>= 2.34), libcurl3-gnutls (>= 7.28.0), libgcc-s1 (>= 4.2), libssh2-1 (>= 1.7.0), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4), rustc (>= 1.24), binutils, gcc | clang | c-compiler
Suggests: cargo-doc, python3
Filename: pool/universe/c/cargo/cargo_0.54.0-0ubuntu1~21.10.1_amd64.deb
Size: 3766294
MD5sum: 417958d811ae3c717ea80ed8c000b444
SHA1: 004c60d55f6eb06d57f014348b192b05098584ce
SHA256: 4956eca7e91945dfe017b0035094e0f4eb33e2cfc68fb4fe69f4fa760f32dc23
SHA512: a3849b514a8f1b01f12cd17c7530fa04474b91c8003285b0f95957067443243b3000efdad6a6555b54917c26b15cd841c6265477d261098dc00c4e35986c0caf
Homepage: https://crates.io/
Description-en: Rust package manager
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.
Description-md5: f894562a11fc2421647ac771e1f6c13a

Package: cargo
Architecture: amd64
Version: 0.52.0-0ubuntu1
Multi-Arch: allowed
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10754
Depends: libc6 (>= 2.33), libcurl3-gnutls (>= 7.28.0), libgcc-s1 (>= 4.2), libgit2-1.1 (>= 1.1.0), libssh2-1 (>= 1.2.5), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4), rustc (>= 1.24), binutils, gcc | clang | c-compiler
Suggests: cargo-doc, python3
Filename: pool/universe/c/cargo/cargo_0.52.0-0ubuntu1_amd64.deb
Size: 3273318
MD5sum: 8e6c0a59e6b2065aad62b18386ca50c4
SHA1: b43bdcec03e472f718a18ede5f27c2ca00cb5367
SHA256: 8617a1d51e716ba41295f84b8622f118f3e6d89ec32d24495c7f99fd4dc70d62
SHA512: 5b1dbc7c933df7a895a8c81781fd1c6fb0df692bbf4ef7bf3628059453c634f76350d2869bd49f52f89d3ba88f4753a9d55ba64d9d279f3506145e8704ac8f20
Homepage: https://crates.io/
Description-en: Rust package manager
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.
Description-md5: f894562a11fc2421647ac771e1f6c13a