How to Install and Uninstall cargo Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 26,2024

1. Install "cargo" package

Please follow the guidelines below to install cargo on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

This guide let you learn how to uninstall cargo on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the cargo package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: cargo
Architecture: amd64
Version: 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04
Multi-Arch: allowed
Priority: extra
Section: universe/devel
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22718
Depends: libc6 (>= 2.34), libcurl3-gnutls (>= 7.28.0), libgcc-s1 (>= 4.2), libssh2-1 (>= 1.7.0), libssl3 (>= 3.0.0~~alpha1), zlib1g (>= 1:1.2.3.4), rustc (= 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04), binutils, gcc | clang | c-compiler
Suggests: cargo-doc, python3
Filename: pool/universe/r/rustc/cargo_1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04_amd64.deb
Size: 6700002
MD5sum: b16d76779b46a9c614d66ab1c80d2b7d
SHA1: d7c9398dbe752e8f953a9fb7e47b1ede154a96c0
SHA256: f7ead69ec20b4b367e66fc2dcf05831353837abc836adfc4584292d6b02d9322
SHA512: 20137b5065ec1493514b08514b9278aee6f05e389ef95de9374ae4577b66c083a20e63d679479a2f017018d34cbb5e3cc90903c23b9485f8c100c5b7ba935960
Homepage: http://www.rust-lang.org/
Description: Rust package manager
Description-md5: f894562a11fc2421647ac771e1f6c13a

Package: cargo
Architecture: amd64
Version: 0.58.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: 12373
Depends: libc6 (>= 2.34), libcurl3-gnutls (>= 7.28.0), libgcc-s1 (>= 4.2), libssh2-1 (>= 1.7.0), libssl3 (>= 3.0.0~~alpha1), zlib1g (>= 1:1.1.4), rustc (>= 1.24), binutils, gcc | clang | c-compiler
Suggests: cargo-doc, python3
Filename: pool/universe/c/cargo/cargo_0.58.0-0ubuntu1_amd64.deb
Size: 3906902
MD5sum: b329cf60609740f53e235024dad32af2
SHA1: a11c4312d85833d5aae476bebd4ee753377af774
SHA256: 1e2a3cfb26e9ca9fea4e1902d2dffc3c20ee65082835c45a7b6ca64d899aee7e
SHA512: aa20484cb924d1ba6a786319fff57adb4fde5bad8e93af9caea34970b00702437da2498b6a5c2e5bc19120841b02299213adc93c3ae479d835ed01c4fb4c3393
Homepage: https://crates.io/
Description: Rust package manager
Description-md5: f894562a11fc2421647ac771e1f6c13a