How to Install and Uninstall git Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 23,2024

1. Install "git" package

Here is a brief guide to show you how to install git on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install git

2. Uninstall "git" package

This guide covers the steps necessary to uninstall git on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the git package on Ubuntu 22.10 (Kinetic Kudu)

Package: git
Architecture: amd64
Version: 1:2.37.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: 19308
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.0), perl, liberror-perl, git-man (>> 1:2.37.2), git-man (<< 1:2.37.2-.)
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.37.2-1ubuntu1_amd64.deb
Size: 3295688
MD5sum: 63756e9ee9627194360ba1cdc64f59da
SHA1: 774a8412db8d680f3a573f5ca20eb7b5ff6aa3b0
SHA256: 6229d412c03c3c49ca913ed5af034da89eb0fe71282218d39fbd8be4e20a31da
SHA512: cecadaf91504e4d395b987893049055a1f284db7a6b6d9d35ba00fb9dcb49cc1c119739723b46f3b079fcb8e390bda7790b364c7b74210c630568014ad03a390
Homepage: https://git-scm.com/
Description: fast, scalable, distributed revision control system
Description-md5: c1f968556452a190fe359bffd151c012
Task: cloud-image, ubuntu-wsl, server, ubuntu-server-raspi, kubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop