How to Install and Uninstall librust-git2-dev Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 29,2024

1. Install "librust-git2-dev" package

Here is a brief guide to show you how to install librust-git2-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install librust-git2-dev

2. Uninstall "librust-git2-dev" package

Please follow the guidance below to uninstall librust-git2-dev on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove librust-git2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the librust-git2-dev package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: librust-git2-dev
Architecture: amd64
Version: 0.13.23-2
Multi-Arch: same
Priority: optional
Section: universe/rust
Source: rust-git2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 923
Provides: librust-git2+unstable-dev (= 0.13.23-2), librust-git2-0+unstable-dev (= 0.13.23-2), librust-git2-0-dev (= 0.13.23-2), librust-git2-0.13+unstable-dev (= 0.13.23-2), librust-git2-0.13-dev (= 0.13.23-2), librust-git2-0.13.23+unstable-dev (= 0.13.23-2), librust-git2-0.13.23-dev (= 0.13.23-2)
Depends: librust-bitflags-1+default-dev (>= 1.1.0-~~), librust-libc-0.2+default-dev, librust-libgit2-sys-0.12+default-dev (>= 0.12.24-~~), librust-log-0.4+default-dev (>= 0.4.8-~~), librust-url-2+default-dev
Recommends: librust-git2+default-dev (= 0.13.23-2)
Suggests: librust-git2+https-dev (= 0.13.23-2), librust-git2+openssl-probe-dev (= 0.13.23-2), librust-git2+openssl-sys-dev (= 0.13.23-2), librust-git2+ssh-dev (= 0.13.23-2), librust-git2+ssh-key-from-memory-dev (= 0.13.23-2)
Filename: pool/universe/r/rust-git2/librust-git2-dev_0.13.23-2_amd64.deb
Size: 152408
MD5sum: 4e7a08b0d9df7de81aa3c2ef4cc873ed
SHA1: ec10fc2e6802eca939672231b921c7dd42df698c
SHA256: cd6994315acb77853b706f2b2d9cc00625edac2cd469a83c676fa864b170b27b
SHA512: 1af4ffcfa04b275471132bfd41592b287a9b4fc028e8926e5e211e9d39d7a20224de20c4f6a240400f75e74111285f6a8e034a160db0b8265e91b1f6289425cc
Description: Bindings to libgit2 for interoperating with git repositories - Rust source code
Description-md5: 8959e8c0eae5c822b037f55c4176b5b7