How to Install and Uninstall git Package on Kali Linux

Last updated: May 07,2024

1. Install "git" package

Here is a brief guide to show you how to install git on Kali Linux

$ sudo apt update $ sudo apt install git

2. Uninstall "git" package

This is a short guide on how to uninstall git on Kali Linux:

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

3. Information about the git package on Kali Linux

Package: git
Version: 1:2.43.0-1
Installed-Size: 46734
Maintainer: Jonathan Nieder
Architecture: amd64
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.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)
Size: 7541244
SHA256: 0e4ea7ef218ede9760e0bcc1841df25956e3fbccd85c7cd20b37d222bcafa66f
SHA1: 714f98fc52997d1edaf3227fdf69c78b4cccefad
MD5sum: d9343335c58a43e251f604fa8814a5e0
Description: 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:
Multi-Arch: foreign
Homepage: https://git-scm.com/
Tag: devel::lang:perl, devel::library, devel::rcs, implemented-in::c,
implemented-in::perl, implemented-in::shell, interface::text-mode,
network::client, network::server, protocol::ssh, protocol::tcp,
role::devel-lib, role::program, works-with::file,
works-with::software:source, works-with::vcs
Section: vcs
Priority: optional
Filename: pool/main/g/git/git_2.43.0-1_amd64.deb