How to Install and Uninstall libgit2-dev Package on Debian 10 (Buster)

Last updated: May 20,2024

1. Install "libgit2-dev" package

In this section, we are going to explain the necessary steps to install libgit2-dev on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libgit2-dev

2. Uninstall "libgit2-dev" package

Please follow the guidance below to uninstall libgit2-dev on Debian 10 (Buster):

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

3. Information about the libgit2-dev package on Debian 10 (Buster)

Package: libgit2-dev
Source: libgit2
Version: 0.27.7+dfsg.1-0.2
Installed-Size: 2913
Maintainer: Russell Sim
Architecture: amd64
Depends: libgit2-27 (= 0.27.7+dfsg.1-0.2), libz-dev, libmbedtls-dev, libssh2-1-dev, libhttp-parser-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_0.27.7+dfsg.1-0.2_amd64.deb
Size: 697376
MD5sum: 8695cfb74388b5649dcaf082cf602f1e
SHA256: 08affaa2c340ea3816df421c2058f4bd70f0c1b1abf67ac54558a94ad8315126