How to Install and Uninstall git-lfs Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 07,2024

1. Install "git-lfs" package

Please follow the guidelines below to install git-lfs on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install git-lfs

2. Uninstall "git-lfs" package

Here is a brief guide to show you how to uninstall git-lfs on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the git-lfs package on Ubuntu 20.04 LTS (Focal Fossa)

Package: git-lfs
Architecture: amd64
Version: 2.9.2-1
Built-Using: golang-1.13 (= 1.13.5-1ubuntu1), golang-github-davecgh-go-spew (= 1.1.1-2), golang-github-git-lfs-gitobj (= 1.4.1-1), golang-github-git-lfs-go-netrc (= 0.0~git20180525.e0e9ca4-1), golang-github-git-lfs-wildmatch (= 1.0.4-1), golang-github-mattn-go-isatty (= 0.0.8-2), golang-github-olekukonko-ts (= 0.0~git20140412.0.ecf753e-2), golang-github-pkg-errors (= 0.8.1-1), golang-github-pmezard-go-difflib (= 1.0.0-2), golang-github-rubyist-tracerx (= 0.0~git20170927.0.7879593-1), golang-github-spf13-cobra (= 0.0.4-2), golang-github-spf13-pflag (= 1.0.3-1), golang-github-ssgelm-cookiejarparser (= 1.0.0-2), golang-github-thomsonreuterseikon-go-ntlm (= 0.0~git20151030.0.b00ec39-1), golang-golang-x-net-dev (= 1:0.0+git20190811.74dc4d7+dfsg-1), golang-golang-x-sync (= 0.0~git20190423.1122301-1), golang-golang-x-sys (= 0.0~git20190726.fc99dfb-1ubuntu2), golang-testify (= 1.4.0+ds-1), golang-x-text (= 0.3.2-1), golang-yaml.v2 (= 2.2.2-1)
Priority: optional
Section: universe/vcs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10848
Depends: git, libc6 (>= 2.4)
Filename: pool/universe/g/git-lfs/git-lfs_2.9.2-1_amd64.deb
Size: 3315764
MD5sum: 4e3eee1dc2724efc4a82111c1e6f7c32
SHA1: 39589bb162fe200233ea0334ea8262dc72eb7fcc
SHA256: 3fb9970d9b78f0951a71cfc7493d308229d989e3cf8e95ce592cd03538ac71f7
Homepage: https://git-lfs.github.com/
Description: Git Large File Support
Description-md5: d562e9a57f2fdda4249d506e8e3646f9