How to Install and Uninstall cargo-lock Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 26,2024

1. Install "cargo-lock" package

In this section, we are going to explain the necessary steps to install cargo-lock on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install cargo-lock

2. Uninstall "cargo-lock" package

This tutorial shows how to uninstall cargo-lock on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the cargo-lock package on Ubuntu 23.10 (Mantic Minotaur)

Package: cargo-lock
Architecture: amd64
Version: 9.0.0-1
Built-Using: rustc (= 1.71.1+dfsg0ubuntu1-0ubuntu1)
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: 1201
Depends: libc6 (>= 2.38), libgcc-s1 (>= 4.2)
Filename: pool/universe/r/rust-cargo-lock/cargo-lock_9.0.0-1_amd64.deb
Size: 461024
MD5sum: 1843e62ed3481278725db8536e362c44
SHA1: a3092516d8aa93494565acbfe5d3b51b4b31b35b
SHA256: ac1c6f0c8d07cc815c3bfa8ae9c76dbfcba0112bde228dad13aebd96c56f00ff
SHA512: a3870204f67477f51848799ef41c12fb88ea7234d5c7f42529dbd72094a0f1b2532da707a0bb2b16b798238c17a40b4a4b5c1413b8f52942a268b779c042dc31
Homepage: https://rustsec.org
Description: Self-contained Cargo.lock parser
Description-md5: e5e480074e524a09cee8973d23501b19
X-Cargo-Built-Using: rust-fixedbitset (= 0.4.2-1), rust-form-urlencoded (= 1.2.0-1), rust-gumdrop (= 0.8.1-1), rust-hashbrown (= 0.12.3-1), rust-idna (= 0.3.0-1), rust-indexmap (= 1.9.2-1), rust-percent-encoding (= 2.3.0-1), rust-petgraph (= 0.6.2-1), rust-semver (= 1.0.18-1), rust-serde (= 1.0.171-1), rust-smallvec (= 1.11.0-1), rust-toml (= 0.5.11-1), rust-unicode-bidi (= 0.3.8-2), rust-unicode-normalization (= 0.1.22-1), rust-url (= 2.4.0-1), rustc (= 1.71.1+dfsg0ubuntu1-0ubuntu1)