How to Install and Uninstall go-git Package on Debian 12 (Bookworm)

Last updated: May 20,2024

1. Install "go-git" package

This guide covers the steps necessary to install go-git on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install go-git

2. Uninstall "go-git" package

This tutorial shows how to uninstall go-git on Debian 12 (Bookworm):

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

3. Information about the go-git package on Debian 12 (Bookworm)

Package: go-git
Source: golang-github-go-git-go-git (5.4.2-3)
Version: 5.4.2-3+b7
Installed-Size: 3654
Maintainer: Debian Go Packaging Team
Architecture: amd64
Description: highly extensible Git implementation in pure Go (command line)
Description-md5: e51db9dca545f3c2e90657e459772a1f
Homepage: https://github.com/go-git/go-git
Built-Using: golang-1.19 (= 1.19.8-2), golang-check.v1 (= 0.0+git20200902.038fdea-1), golang-github-cloudflare-circl (= 1.3.1-2), 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~git20230124.0acdc8a-4), 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.4.0-1), golang-golang-x-net (= 1:0.7.0+dfsg-1), golang-golang-x-sys (= 0.3.0-1), golang-gopkg-warnings.v0 (= 0.1.2-1.1), golang-pretty (= 0.3.0-1), golang-text (= 0.2.0-2)
Section: golang
Priority: optional
Filename: pool/main/g/golang-github-go-git-go-git/go-git_5.4.2-3+b7_amd64.deb
Size: 1298472
MD5sum: 5cd73a5f259cd0758674f4f58c60abc8
SHA256: 2a519c31e4a314ee8a817ff7b279c25c11e7e5be3ca4faf40da96fb54881b8b6