How to Install and Uninstall cargo Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: April 29,2024

1. Install "cargo" package

This guide covers the steps necessary to install cargo on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

Please follow the guidance below to uninstall cargo on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the cargo package on Ubuntu 24.04 LTS (Noble Numbat)

Package: cargo
Architecture: amd64
Version: 1.75.0+dfsg0ubuntu1-0ubuntu1
Multi-Arch: allowed
Priority: extra
Section: devel
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21831
Depends: libc6 (>= 2.38), libcurl3-gnutls (>= 7.28.0), libgcc-s1 (>= 4.2), libgit2-1.7 (>= 1.7.0), libssh2-1 (>= 1.2.5), libssl3 (>= 3.0.0), zlib1g (>= 1:1.2.3.4), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1), binutils, gcc | clang | c-compiler
Suggests: cargo-doc, python3
Filename: pool/main/r/rustc/cargo_1.75.0+dfsg0ubuntu1-0ubuntu1_amd64.deb
Size: 6070242
MD5sum: 7a93324de7b697726de68ffc53e8672b
SHA1: 0e60f7f14774eb0ddf5e88258ec2356c1aeaab1c
SHA256: 32092de7badff94b95160f4dfc03bbc9eced844d9d929409c3365264ff686099
SHA512: 97a28a1837478b5bed74a24c8ff93e74bbb9c5967a4dac7752892a88f3a064c82d53362d3e1a5494df2ab47b2ba497097812c778420aa9dab70b66ae7065067a
Homepage: http://www.rust-lang.org/
Description: Rust package manager
Description-md5: f894562a11fc2421647ac771e1f6c13a