How to Install and Uninstall cargo Package on Kali Linux

Last updated: November 25,2024

1. Install "cargo" package

Please follow the step by step instructions below to install cargo on Kali Linux

$ sudo apt update $ sudo apt install cargo

2. Uninstall "cargo" package

In this section, we are going to explain the necessary steps to uninstall cargo on Kali Linux:

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

3. Information about the cargo package on Kali Linux

Package: cargo
Version: 0.70.1+ds1-2
Installed-Size: 13356
Maintainer: Rust Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), libcurl3-gnutls (>= 7.28.0), libgcc-s1 (>= 4.2), libgit2-1.7 (>= 1.7.1), libssh2-1 (>= 1.2.5), libssl3 (>= 3.0.0), zlib1g (>= 1:1.1.4), rustc (>= 1.24), binutils, gcc | clang | c-compiler
Suggests: cargo-doc, python3
Size: 3777372
SHA256: 38aaaada946ddf7744a3ba96b534c27445b47de15053d14a70f2a692bc530841
SHA1: 663fd9ad115c515888696eb395c455c2032d9279
MD5sum: f8d46e4747569f0e9ada84f9208ab12c
Description: 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:
Multi-Arch: allowed
Homepage: https://crates.io/
Section: rust
Priority: optional
Filename: pool/main/c/cargo/cargo_0.70.1+ds1-2_amd64.deb