How to Install and Uninstall git Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 07,2024

1. Install "git" package

Here is a brief guide to show you how to install git on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install git

2. Uninstall "git" package

Here is a brief guide to show you how to uninstall git on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the git package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: git
Architecture: amd64
Version: 1:2.17.1-1ubuntu0.12
Multi-Arch: foreign
Priority: optional
Section: vcs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Gerrit Pape
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 31552
Provides: git-completion, git-core
Depends: libc6 (>= 2.16), libcurl3-gnutls (>= 7.16.2), libexpat1 (>= 2.0.1), libpcre3, zlib1g (>= 1:1.2.0), perl, liberror-perl, git-man (>> 1:2.17.1), git-man (<< 1:2.17.1-.)
Recommends: patch, less, ssh-client
Suggests: gettext-base, git-daemon-run | git-daemon-sysvinit, git-doc, git-el, git-email, git-gui, gitk, gitweb, git-cvs, git-mediawiki, git-svn
Breaks: bash-completion (<< 1:1.90-1), cogito (<= 0.18.2+), git-buildpackage (<< 0.6.5), git-core (<< 1:1.7.0.4-1.), gitosis (<< 0.2+20090917-7), gitpkg (<< 0.15), gitweb (<< 1:1.7.4~rc1), guilt (<< 0.33), openssh-client (<< 1:6.8), stgit (<< 0.15), stgit-contrib (<< 0.15)
Replaces: git-core (<< 1:1.7.0.4-1.), gitweb (<< 1:1.7.4~rc1)
Filename: pool/main/g/git/git_2.17.1-1ubuntu0.12_amd64.deb
Size: 3930040
MD5sum: 1ecde1b72f7e0d9943792e6942541fc9
SHA1: 3b243d9bacce805a1a982ab1ad79277e58bfc3a1
SHA256: 7ba3dc91543ecbd71493a635dcd1cea60b6c404c1cec98fdcd4885afaef2d6b0
SHA512: 4ecf96336ae3e4b3154f14f5e3f55d207251c8e2e273d3ab222a98e0a896e6b156ddff1e61cfdd34e5348218062dbe9d87793807dc54a8d815f14e2d05b4372c
Homepage: https://git-scm.com/
Description: fast, scalable, distributed revision control system
Description-md5: c1f968556452a190fe359bffd151c012
Task: cloud-image, server
Supported: 5y

Package: git
Architecture: amd64
Version: 1:2.17.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: vcs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Gerrit Pape
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 31376
Provides: git-completion, git-core
Depends: libc6 (>= 2.16), libcurl3-gnutls (>= 7.16.2), libexpat1 (>= 2.0.1), libpcre3, zlib1g (>= 1:1.2.0), perl, liberror-perl, git-man (>> 1:2.17.0), git-man (<< 1:2.17.0-.)
Recommends: patch, less, ssh-client
Suggests: gettext-base, git-daemon-run | git-daemon-sysvinit, git-doc, git-el, git-email, git-gui, gitk, gitweb, git-cvs, git-mediawiki, git-svn
Breaks: bash-completion (<< 1:1.90-1), cogito (<= 0.18.2+), git-buildpackage (<< 0.6.5), git-core (<< 1:1.7.0.4-1.), gitosis (<< 0.2+20090917-7), gitpkg (<< 0.15), gitweb (<< 1:1.7.4~rc1), guilt (<< 0.33), openssh-client (<< 1:6.8), stgit (<< 0.15), stgit-contrib (<< 0.15)
Replaces: git-core (<< 1:1.7.0.4-1.), gitweb (<< 1:1.7.4~rc1)
Filename: pool/main/g/git/git_2.17.0-1ubuntu1_amd64.deb
Size: 3894256
MD5sum: b87d7a6f88b3efa51aa93950e12df776
SHA1: 87d6efe344cc8de8ab6ed9296b69254854f29a34
SHA256: 3d97ccbe13f7b50f48254e4d7baa2e0c29a3c2aae980c1e60f6501a0102666db
Homepage: https://git-scm.com/
Description: fast, scalable, distributed revision control system
Description-md5: c1f968556452a190fe359bffd151c012
Task: cloud-image, server
Supported: 5y