How to Install and Uninstall git Package on Debian 12 (Bookworm)
Last updated: November 05,2024
Notice
You can also install and uninstall the git on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "git" package
Please follow the steps below to install git on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
git
Copied
2. Uninstall "git" package
Please follow the guidelines below to uninstall git on Debian 12 (Bookworm):
$
sudo apt remove
git
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the git package on Debian 12 (Bookworm)
Package: git
Version: 1:2.39.2-1.1
Installed-Size: 44477
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.39.2), git-man (<< 1:2.39.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)
Description: fast, scalable, distributed revision control system
Description-md5: c1f968556452a190fe359bffd151c012
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.39.2-1.1_amd64.deb
Size: 7171272
MD5sum: 0d04f038319b19e3aed47e3c87c17e19
SHA256: fa5cd07754d9a4f93e2a6f54a5b1fa160230e312121d62c0c609b6701f9b93a3
Version: 1:2.39.2-1.1
Installed-Size: 44477
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.39.2), git-man (<< 1:2.39.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)
Description: fast, scalable, distributed revision control system
Description-md5: c1f968556452a190fe359bffd151c012
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.39.2-1.1_amd64.deb
Size: 7171272
MD5sum: 0d04f038319b19e3aed47e3c87c17e19
SHA256: fa5cd07754d9a4f93e2a6f54a5b1fa160230e312121d62c0c609b6701f9b93a3