How to Install and Uninstall cargo Package on Debian 10 (Buster)

Last updated: November 05,2024

1. Install "cargo" package

Please follow the guidance below to install cargo on Debian 10 (Buster)

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

Please follow the step by step instructions below to uninstall cargo on Debian 10 (Buster):

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

3. Information about the cargo package on Debian 10 (Buster)

Package: cargo
Version: 0.43.1-3~deb10u1
Installed-Size: 10901
Maintainer: Rust Maintainers
Architecture: amd64
Depends: libc6 (>= 2.18), libcurl3-gnutls (>= 7.28.0), libgcc1 (>= 1:4.2), libhttp-parser2.8 (>= 2.1), 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
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.43.1-3~deb10u1_amd64.deb
Size: 3085484
MD5sum: 703a3b285a7ef7b5257e8b46718d9367
SHA256: 3e612f7c25f3a593f7b3635f5761d39a20684194afc34a63e06ef543a80b8881