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

Last updated: May 12,2024

1. Install "go-git" package

Please follow the guidelines below to install go-git on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install go-git

2. Uninstall "go-git" package

Please follow the guidelines below to uninstall go-git on Ubuntu 22.10 (Kinetic Kudu):

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

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

Package: go-git
Architecture: amd64
Version: 5.4.2-3
Built-Using: golang-1.17 (= 1.17.3-1ubuntu1), golang-check.v1 (= 0.0+git20200902.038fdea-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.8-3), golang-github-jbenet-go-context (= 0.0~git20150711.d14ea06-2), golang-github-kevinburke-ssh-config (= 1.0-1), golang-github-mitchellh-go-homedir (= 1.1.0-1), golang-github-protonmail-go-crypto (= 0.0~git20210920.87db9fb-2), golang-github-sergi-go-diff (= 1.1.0-1), golang-github-src-d-gcfg (= 1.4.0-2), golang-github-xanzy-ssh-agent (= 0.2.1-1), golang-go-flags (= 1.4.0-5), golang-go.crypto (= 1:0.0~git20210817.32db794-1), golang-golang-x-net (= 1:0.0+git20210805.aaa1db6+dfsg-1), golang-golang-x-sys (= 0.0~git20211117.dee7805-1), golang-gopkg-warnings.v0 (= 0.1.2-1.1), golang-pretty (= 0.3.0-1), golang-text (= 0.2.0-1)
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: 3350
Filename: pool/universe/g/golang-github-go-git-go-git/go-git_5.4.2-3_amd64.deb
Size: 1209978
MD5sum: db7958cee1148b501e2eb97ff23a340d
SHA1: 5a7b55a678841448a15e7e8732e84917a773c7b7
SHA256: 404db59ae983e50157e0e5faeea3238b1e0a2409289e8d4e31951ca4c93f38dd
SHA512: 892b94be6c600ba328328a2ed0f96466d3cabc042ff099a93346668bac12c114c401753582ee9f7e217b949def1987ec97b000296cf3ae9e889acefe4c5b2686
Homepage: https://github.com/go-git/go-git
Description: highly extensible Git implementation in pure Go (command line)
Description-md5: e51db9dca545f3c2e90657e459772a1f