How to Install and Uninstall git Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 07,2024

1. Install "git" package

Please follow the step by step instructions below to install git on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install git

2. Uninstall "git" package

Learn how to uninstall git on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the git package on Ubuntu 23.10 (Mantic Minotaur)

Package: git
Architecture: amd64
Version: 1:2.40.1-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: 21244
Provides: git-completion, git-core
Depends: libc6 (>= 2.34), 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.40.1), git-man (<< 1:2.40.1-.)
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.40.1-1ubuntu1_amd64.deb
Size: 3583410
MD5sum: a52788cd2bcd98dcb460123ebfca2fae
SHA1: 07e9d40b01bcd746830afdd1f50cc902bd5ceb1c
SHA256: ef6c145c450a9a7cedb8bf8735521f4b767e8347e69be5d67402fc6f58d45f47
SHA512: 3034742f72743c0186ae9c52ce1a9b1c20b2d1f8a3cd7d8afacf2950e0112360657bca6ce931f9b6112c2b2ac60b336b039ff2537463419c75b79373b5baea9f
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