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

Last updated: May 14,2024

1. Install "git-lfs" package

Please follow the step by step instructions below to install git-lfs on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install git-lfs

2. Uninstall "git-lfs" package

Please follow the instructions below to uninstall git-lfs on Debian 12 (Bookworm):

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

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

Package: git-lfs
Source: git-lfs (3.3.0-1)
Version: 3.3.0-1+b5
Installed-Size: 10952
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: git, libc6 (>= 2.34)
Description: Git Large File Support
Description-md5: d562e9a57f2fdda4249d506e8e3646f9
Homepage: https://git-lfs.github.com/
Built-Using: golang-1.19 (= 1.19.8-2), golang-github-dpotapov-go-spnego (= 0.0~git20190506.c2c6091-2), golang-github-git-lfs-gitobj (= 2.1.1-1), golang-github-git-lfs-go-netrc (= 0.0~git20210914.f0c862d-1), golang-github-git-lfs-pktline (= 0.0~git20210330.06e9096-2), golang-github-git-lfs-wildmatch (= 2.0.1-1), golang-github-hashicorp-go-uuid (= 1.0.2-2), golang-github-jcmturner-gofork (= 1.0.0-4), golang-github-leonelquinteros-gotext (= 1.5.0-3), golang-github-mattn-go-isatty (= 0.0.17-1), golang-github-olekukonko-ts (= 0.0~git20140412.0.ecf753e-2), golang-github-pkg-errors (= 0.9.1-2), golang-github-rubyist-tracerx (= 0.0~git20170927.0.7879593-1), golang-github-spf13-cobra (= 1.6.1-1), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-ssgelm-cookiejarparser (= 1.0.0-3), golang-go.crypto (= 1:0.4.0-1), golang-golang-x-net (= 1:0.7.0+dfsg-1), golang-golang-x-sync (= 0.1.0-1), golang-golang-x-sys (= 0.3.0-1), golang-golang-x-text (= 0.7.0-1), golang-gopkg-jcmturner-aescts.v1 (= 1.0.1-4), golang-gopkg-jcmturner-dnsutils.v1 (= 1.0.1-2), golang-gopkg-jcmturner-gokrb5.v5 (= 5.3.0+dfsg-2), golang-gopkg-jcmturner-rpc.v0 (= 0.0.2-2)
Section: vcs
Priority: optional
Filename: pool/main/g/git-lfs/git-lfs_3.3.0-1+b5_amd64.deb
Size: 3487568
MD5sum: e7c34f345fa56f55f9191d91d2a1726a
SHA256: 1c36462b8f6c4610dbc1c009076fb2642a73ec3bb32ea04874e731834cf98954