How to Install and Uninstall cargo Package on Debian 11 (Bullseye)

Last updated: November 05,2024

1. Install "cargo" package

This is a short guide on how to install cargo on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

Please follow the steps below to uninstall cargo on Debian 11 (Bullseye):

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

3. Information about the cargo package on Debian 11 (Bullseye)

Package: cargo
Source: cargo (0.47.0-3)
Version: 0.47.0-3+b1
Installed-Size: 10369
Maintainer: Rust Maintainers
Architecture: amd64
Depends: libc6 (>= 2.29), 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
Description: Rust package manager
Description-md5: f894562a11fc2421647ac771e1f6c13a
Multi-Arch: allowed
Homepage: https://crates.io/
Section: rust
Priority: optional
Filename: pool/main/c/cargo/cargo_0.47.0-3+b1_amd64.deb
Size: 2869856
MD5sum: 0088c1a3e18989fb9afa9b1a47fdd276
SHA256: 1ac1406dd0748bab722a310992faa32b19b1125c47f0216185577a4d67092eb9