How to Install and Uninstall git Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 26,2024

1. Install "git" package

Please follow the steps below to install git on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install git

2. Uninstall "git" package

Please follow the guidance below to uninstall git on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove git $ sudo apt autoclean && sudo apt autoremove

3. Information about the git package on Ubuntu 21.04 (Hirsute Hippo)

Package: git
Architecture: amd64
Version: 1:2.30.2-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: vcs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonathan Nieder
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28100
Provides: git-completion, git-core
Depends: libc6 (>= 2.33), libcurl3-gnutls (>= 7.56.1), libexpat1 (>= 2.0.1), libpcre2-8-0 (>= 10.22), zlib1g (>= 1:1.2.0), perl, liberror-perl, git-man (>> 1:2.30.2), git-man (<< 1:2.30.2-.)
Recommends: ca-certificates, patch, less, ssh-client
Suggests: gettext-base, git-daemon-run | git-daemon-sysvinit, git-doc, git-el, git-email, git-gui, gitk, gitweb, git-cvs, git-mediawiki, git-svn
Breaks: bash-completion (<< 1:1.90-1), cogito (<= 0.18.2+), dgit (<< 5.1~), git-buildpackage (<< 0.6.5), git-core (<< 1:1.7.0.4-1.), gitosis (<< 0.2+20090917-7), gitpkg (<< 0.15), gitweb (<< 1:1.7.4~rc1), guilt (<< 0.33), openssh-client (<< 1:6.8), stgit (<< 0.15), stgit-contrib (<< 0.15)
Replaces: git-core (<< 1:1.7.0.4-1.), gitweb (<< 1:1.7.4~rc1)
Filename: pool/main/g/git/git_2.30.2-1ubuntu1_amd64.deb
Size: 3457300
MD5sum: 8942046998e8f1c0bfe7431074993deb
SHA1: 068028b0596a04ca0b57954ea9c520d711ec5ebe
SHA256: 8c2c309393098b66fe8ccfb4abdd6a43771d36e555f51e4c41dc107ad9a29833
SHA512: 79571ea2ab0e4a15635c52205e80203d555fde77250e7a2c3795cbbb245498c066ca339caff7f1a1cd41e75aa090280c51c88630e3002f2e3b479cd004516de5
Homepage: https://git-scm.com/
Description-en: fast, scalable, distributed revision control system
Git is popular version control system designed to handle very large
projects with speed and efficiency; it is used for many high profile
open source projects, most notably the Linux kernel.
.
Git falls in the category of distributed source code management tools.
Every Git working directory is a full-fledged repository with full
revision tracking capabilities, not dependent on network access or a
central server.
.
This package provides the git main components with minimal dependencies.
Additional functionality, e.g. a graphical user interface and revision
tree visualizer, tools for interoperating with other VCS's, or a web
interface, is provided as separate git* packages.
Description-md5: c1f968556452a190fe359bffd151c012
Task: server, cloud-image, server-raspi, lubuntu-desktop