How to Install and Uninstall libgit2-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "libgit2-dev" package

Please follow the steps below to install libgit2-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libgit2-dev

2. Uninstall "libgit2-dev" package

Please follow the guidelines below to uninstall libgit2-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libgit2-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libgit2-dev
Architecture: amd64
Version: 0.28.4+dfsg.1-2
Multi-Arch: same
Priority: extra
Section: universe/libdevel
Source: libgit2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Utkarsh Gupta
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3129
Depends: libgit2-28 (= 0.28.4+dfsg.1-2), zlib1g-dev, libmbedtls-dev, libssh2-1-dev, libhttp-parser-dev
Filename: pool/universe/libg/libgit2/libgit2-dev_0.28.4+dfsg.1-2_amd64.deb
Size: 690976
MD5sum: 00334fb6dd2129329f39ed30541a5f77
SHA1: 041f86673f2daa26be82fe28abaa5c69ea2283be
SHA256: e741d0c2ad10721f118f8bbf6062cc5e458187f812d0d55cd9afadb4bd0c36bf
Homepage: https://libgit2.github.com/
Description: low-level Git library (development files)
Description-md5: 0ecd9e5d81e77e4aa1198aab98818ccd