How to Install and Uninstall go-git Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 15,2024

1. Install "go-git" package

Please follow the steps below to install go-git on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install go-git

2. Uninstall "go-git" package

Here is a brief guide to show you how to uninstall go-git on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the go-git package on Ubuntu 24.04 LTS (Noble Numbat)

Package: go-git
Architecture: amd64
Version: 5.4.2-4
Built-Using: golang-1.21 (= 1.21.3-1), golang-check.v1 (= 0.0+git20200902.038fdea-1), golang-github-cloudflare-circl (= 1.3.6-1), golang-github-emirpasic-gods (= 1.12.0-2), golang-github-go-git-go-billy (= 5.3.1-3), golang-github-go-git-go-git-fixtures (= 4.2.2-2), golang-github-imdario-mergo (= 0.3.12-1), golang-github-jbenet-go-context (= 0.0~git20150711.d14ea06-4), golang-github-kevinburke-ssh-config (= 1.0-2), golang-github-mitchellh-go-homedir (= 1.1.0-1), golang-github-protonmail-go-crypto (= 0.0~git20230626.7e9e0390.0~really~git20230619.3fbb1f1-2), golang-github-rogpeppe-go-internal (= 1.11.0-1build1), golang-github-sergi-go-diff (= 1.2.0-2), golang-github-src-d-gcfg (= 1.4.0-3), golang-github-xanzy-ssh-agent (= 0.3.2-1), golang-go-flags (= 1.4.0-6), golang-go.crypto (= 1:0.13.0-1), golang-golang-x-net (= 1:0.15.0-2), golang-golang-x-sys (= 0.12.0-1), golang-gopkg-warnings.v0 (= 0.1.2-1.1), golang-pretty (= 0.3.1-1), golang-text (= 0.2.0-2)
Priority: optional
Section: universe/golang
Source: golang-github-go-git-go-git
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3330
Filename: pool/universe/g/golang-github-go-git-go-git/go-git_5.4.2-4_amd64.deb
Size: 1307966
MD5sum: 4d3c56692c4f1b74273542478ee509a2
SHA1: a3fbfb892080b959b03782900d50e6390db9488a
SHA256: 3dda545491ef3ce97b8859610eac5546f2e0ea385cbe6ffb284dab012998b070
SHA512: 2ecf612610f981e9bf7f1e5b790b633ddb512a13a2d350a5684c243d1f2ebfefa18e73bf7d46d20c0c6fd0b016a540254346dd3deab2c6b34d72495e9518b296
Homepage: https://github.com/go-git/go-git
Description: highly extensible Git implementation in pure Go (command line)
Description-md5: e51db9dca545f3c2e90657e459772a1f