How to Install and Uninstall cargo-lock Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "cargo-lock" package

This tutorial shows how to install cargo-lock on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install cargo-lock

2. Uninstall "cargo-lock" package

This tutorial shows how to uninstall cargo-lock on Ubuntu 21.10 (Impish Indri):

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

3. Information about the cargo-lock package on Ubuntu 21.10 (Impish Indri)

Package: cargo-lock
Architecture: amd64
Version: 4.0.1-2
Built-Using: rustc (= 1.43.0+dfsg1+llvm-1~exp1ubuntu2)
Multi-Arch: allowed
Priority: optional
Section: universe/rust
Source: rust-cargo-lock
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1309
Depends: libc6 (>= 2.32), libgcc-s1 (>= 4.2)
Filename: pool/universe/r/rust-cargo-lock/cargo-lock_4.0.1-2_amd64.deb
Size: 392268
MD5sum: a593e2e510f828dfa821f8cfe8e7285d
SHA1: 5ccbe1762359c8a2c94050b8bfe4a18f6004e876
SHA256: 06322b54fb7fa30c79571e080300d4c281dc69313cc26d3946f80379d3890fae
SHA512: 71cfa73b027c63e7f4d4143673188637fee7980acbec1fb0bffa83b46d71d8060ef9a25dfd3aea7a22ed4f222ba47bc19e89f036cb52b8c3c282dccce76eb4c3
Homepage: https://rustsec.org
Description-en: Self-contained Cargo.lock parser
This package contains the following binaries built from the Rust crate
"cargo-lock":
- cargo-lock
Description-md5: e5e480074e524a09cee8973d23501b19
X-Cargo-Built-Using: rust-fixedbitset (= 0.2.0-1), rust-gumdrop (= 0.7.0-2), rust-idna (= 0.2.0-1), rust-indexmap (= 1.3.2-1), rust-matches (= 0.1.8-1), rust-percent-encoding (= 2.1.0-2), rust-petgraph (= 0.5.0-1), rust-semver (= 0.9.0-1), rust-semver-parser-0.7 (= 0.7.0-1), rust-serde (= 1.0.106-1), rust-smallvec (= 1.1.0-1), rust-toml (= 0.5.5-1), rust-unicode-bidi (= 0.3.4-2), rust-unicode-normalization (= 0.1.12-1), rust-url (= 2.1.1-2), rustc (= 1.43.0+dfsg1+llvm-1~exp1ubuntu2)