How to Install and Uninstall cargo Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 29,2024

1. Install "cargo" package

Please follow the step by step instructions below to install cargo on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

This is a short guide on how to uninstall cargo on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the cargo package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: cargo
Architecture: amd64
Version: 0.47.0-1~exp1ubuntu1~16.04.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: 11405
Depends: libc6 (>= 2.18), libcurl3-gnutls (>= 7.28.0), libgcc1 (>= 1:4.2), libhttp-parser2.1 (>= 2.1), libpcre3, libssh2-1 (>= 1.2.8), libssl1.0.0 (>= 1.0.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.47.0-1~exp1ubuntu1~16.04.1_amd64.deb
Size: 3208286
MD5sum: 82ec378fb17ca1e55f24b0a6e9cd980c
SHA1: 1072f7627abb88614d73e2d1400bcf73cb4a9897
SHA256: ec7620aeddb9e61ec548c58eabfbd4cc7d31377958cadaf19647ac68d6834e99
SHA512: 4cab37b9cac02518734b7a5ad231e61e0690498e8e4486664e239af1dc566f075965f1201a4f5a3ab3245d9dfd939477740b81421cfa6a0f2dba017762741ee3
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
Priority: extra
Section: universe/devel
Installed-Size: 5454
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Architecture: amd64
Version: 0.8.0-1
Depends: libc6 (>= 2.18), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.2), libhttp-parser2.1 (>= 2.1), libssh2-1 (>= 1.2.3), libssl1.0.0 (>= 1.0.0), zlib1g (>= 1:1.1.4), rustc (>= 1.1), binutils, gcc | clang | c-compiler
Suggests: cargo-doc
Filename: pool/universe/c/cargo/cargo_0.8.0-1_amd64.deb
Size: 1603016
MD5sum: cabbd9c2a7e2a08cfef5951a850b63b6
SHA1: 6d59a66f84bca21a4ad5dabe4d047db3629498be
SHA256: 8fc34288a8c63bf2479bd61563d45dac5410bd29c021b6aec721412c9c81b06a
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
Multi-Arch: foreign
Homepage: https://crates.io/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu