How to Install and Uninstall libgit2-dev Package on Debian 12 (Bookworm)

Last updated: May 19,2024

1. Install "libgit2-dev" package

Please follow the steps below to install libgit2-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libgit2-dev

2. Uninstall "libgit2-dev" package

Please follow the instructions below to uninstall libgit2-dev on Debian 12 (Bookworm):

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

3. Information about the libgit2-dev package on Debian 12 (Bookworm)

Package: libgit2-dev
Source: libgit2
Version: 1.5.1+ds-1+deb12u1
Installed-Size: 3409
Maintainer: Utkarsh Gupta
Architecture: amd64
Depends: libgit2-1.5 (= 1.5.1+ds-1+deb12u1), zlib1g-dev, libmbedtls-dev, libssh2-1-dev, libhttp-parser-dev, libpcre2-dev
Description: low-level Git library (development files)
Description-md5: 0ecd9e5d81e77e4aa1198aab98818ccd
Homepage: https://libgit2.github.com/
Multi-Arch: same
Section: libdevel
Priority: optional
Filename: pool/updates/main/libg/libgit2/libgit2-dev_1.5.1+ds-1+deb12u1_amd64.deb
Size: 775832
SHA256: 880bdddeafec07a1029b442bf465b6dec3821da6786dcab24fdb646d44e42004

Package: libgit2-dev
Source: libgit2
Version: 1.5.1+ds-1
Installed-Size: 3409
Maintainer: Utkarsh Gupta
Architecture: amd64
Depends: libgit2-1.5 (= 1.5.1+ds-1), zlib1g-dev, libmbedtls-dev, libssh2-1-dev, libhttp-parser-dev, libpcre2-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.5.1+ds-1_amd64.deb
Size: 775796
MD5sum: 8f2237de9cb84e31bfc3d4f96d1aecf5
SHA256: 1e3e0afc78dcdbdd8e9bfcedfb0bbcc54afad8b132764c5d4f744956c133d2bc