How to Install and Uninstall libgit2-dev Package on Debian 11 (Bullseye)

Last updated: May 19,2024

1. Install "libgit2-dev" package

This tutorial shows how to install libgit2-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libgit2-dev

2. Uninstall "libgit2-dev" package

Please follow the instructions below to uninstall libgit2-dev on Debian 11 (Bullseye):

$ sudo apt remove libgit2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgit2-dev package on Debian 11 (Bullseye)

Package: libgit2-dev
Source: libgit2
Version: 1.1.0+dfsg.1-4
Installed-Size: 3217
Maintainer: Utkarsh Gupta
Architecture: amd64
Depends: libgit2-1.1 (= 1.1.0+dfsg.1-4), zlib1g-dev, libmbedtls-dev, libssh2-1-dev, libhttp-parser-dev, libpcre3-dev
Description: low-level Git library (development files)
Description-md5: 0ecd9e5d81e77e4aa1198aab98818ccd
Multi-Arch: same
Homepage: https://libgit2.github.com/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/libg/libgit2/libgit2-dev_1.1.0+dfsg.1-4_amd64.deb
Size: 738524
MD5sum: bdcf7645ec6781566100f8e549d1bc85
SHA256: 865b8efbe9ba28bbb73db698ec532d8d22c0b3077c7ed1c1d045b9c458acf4dd