How to Install and Uninstall git Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

1. Install "git" package

Here is a brief guide to show you how to install git on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install git

2. Uninstall "git" package

This guide let you learn how to uninstall git on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the git package on Ubuntu 24.04 LTS (Noble Numbat)

Package: git
Architecture: amd64
Version: 1:2.43.0-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: 21672
Provides: git-completion, git-core
Depends: libc6 (>= 2.38), libcurl3-gnutls (>= 7.56.1), libexpat1 (>= 2.0.1), libpcre2-8-0 (>= 10.34), zlib1g (>= 1:1.2.2), perl, liberror-perl, git-man (>> 1:2.43.0), git-man (<< 1:2.43.0-.)
Recommends: ca-certificates, patch, less, ssh-client
Suggests: gettext-base, git-daemon-run | git-daemon-sysvinit, git-doc, 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-el (<< 1:2.32.0~rc2-1~), gitosis (<< 0.2+20090917-7), gitpkg (<< 0.15), guilt (<< 0.33), openssh-client (<< 1:6.8), stgit (<< 0.15), stgit-contrib (<< 0.15)
Filename: pool/main/g/git/git_2.43.0-1ubuntu1_amd64.deb
Size: 3677498
MD5sum: a00e5020556cd977f0f6c799cf38ac2f
SHA1: 1989260cf851f23d7a071967dbfe7e80b1afe53f
SHA256: 59f769ac3a1750cb8ec21148b526d84bcc0cf1628c3de483c81b3b3d02ef4f1a
SHA512: b35cb70b9853e6539db276c441ef0e80872ea638244f0adee48802b613ee998fc259cd68b34f8ac3a60d8a979829724589dada346f34d019f767269984c7964a
Homepage: https://git-scm.com/
Description: fast, scalable, distributed revision control system
Description-md5: c1f968556452a190fe359bffd151c012
Task: cloud-image, cloud-image, ubuntu-wsl, server, ubuntu-server-raspi, kubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop