How To Install git-lfs on Fedora 36
Introduction
In this tutorial we learn how to install git-lfs
on Fedora 36.
What is git-lfs
Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server.
We can use yum
or dnf
to install git-lfs
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install git-lfs.
Install git-lfs on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install git-lfs
using dnf
by running the following command:
sudo dnf -y install git-lfs
Install git-lfs on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install git-lfs
using yum
by running the following command:
sudo yum -y install git-lfs
How To Uninstall git-lfs on Fedora 36
To uninstall only the git-lfs
package we can use the following command:
sudo dnf remove git-lfs
git-lfs Package Contents on Fedora 36
/usr/bin/git-lfs
/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/00e19266d1fd7a2f46a30950b31a91946c370c
/usr/share/doc/git-lfs
/usr/share/doc/git-lfs/CHANGELOG.md
/usr/share/doc/git-lfs/README.Fedora
/usr/share/doc/git-lfs/README.md
/usr/share/doc/git-lfs/docs
/usr/share/doc/git-lfs/docs/README.md
/usr/share/doc/git-lfs/docs/api
/usr/share/doc/git-lfs/docs/api/README.md
/usr/share/doc/git-lfs/docs/api/authentication.md
/usr/share/doc/git-lfs/docs/api/basic-transfers.md
/usr/share/doc/git-lfs/docs/api/batch.md
/usr/share/doc/git-lfs/docs/api/locking.md
/usr/share/doc/git-lfs/docs/api/schemas
/usr/share/doc/git-lfs/docs/api/schemas/http-batch-request-schema.json
/usr/share/doc/git-lfs/docs/api/schemas/http-batch-response-schema.json
/usr/share/doc/git-lfs/docs/api/schemas/http-lock-create-request-schema.json
/usr/share/doc/git-lfs/docs/api/schemas/http-lock-create-response-schema.json
/usr/share/doc/git-lfs/docs/api/schemas/http-lock-delete-request-schema.json
/usr/share/doc/git-lfs/docs/api/schemas/http-lock-list-response-schema.json
/usr/share/doc/git-lfs/docs/api/schemas/http-lock-verify-response-schema.json
/usr/share/doc/git-lfs/docs/api/server-discovery.md
/usr/share/doc/git-lfs/docs/custom-transfers.md
/usr/share/doc/git-lfs/docs/extensions.md
/usr/share/doc/git-lfs/docs/howto
/usr/share/doc/git-lfs/docs/howto/release-git-lfs.md
/usr/share/doc/git-lfs/docs/l10n.md
/usr/share/doc/git-lfs/docs/linux-build.md
/usr/share/doc/git-lfs/docs/proposals
/usr/share/doc/git-lfs/docs/proposals/README.md
/usr/share/doc/git-lfs/docs/proposals/locking.md
/usr/share/doc/git-lfs/docs/proposals/locking_api.md
/usr/share/doc/git-lfs/docs/proposals/multipart_trasnfer_mode.md
/usr/share/doc/git-lfs/docs/proposals/ntlm.md
/usr/share/doc/git-lfs/docs/proposals/ssh_adapter.md
/usr/share/doc/git-lfs/docs/proposals/transfer_adapters.md
/usr/share/doc/git-lfs/docs/spec.md
/usr/share/licenses/git-lfs
/usr/share/licenses/git-lfs/LICENSE.md
/usr/share/man/man1/git-lfs-checkout.1.gz
/usr/share/man/man1/git-lfs-clean.1.gz
/usr/share/man/man1/git-lfs-clone.1.gz
/usr/share/man/man1/git-lfs-dedup.1.gz
/usr/share/man/man1/git-lfs-env.1.gz
/usr/share/man/man1/git-lfs-ext.1.gz
/usr/share/man/man1/git-lfs-fetch.1.gz
/usr/share/man/man1/git-lfs-filter-process.1.gz
/usr/share/man/man1/git-lfs-fsck.1.gz
/usr/share/man/man1/git-lfs-install.1.gz
/usr/share/man/man1/git-lfs-lock.1.gz
/usr/share/man/man1/git-lfs-locks.1.gz
/usr/share/man/man1/git-lfs-logs.1.gz
/usr/share/man/man1/git-lfs-ls-files.1.gz
/usr/share/man/man1/git-lfs-migrate.1.gz
/usr/share/man/man1/git-lfs-pointer.1.gz
/usr/share/man/man1/git-lfs-post-checkout.1.gz
/usr/share/man/man1/git-lfs-post-commit.1.gz
/usr/share/man/man1/git-lfs-post-merge.1.gz
/usr/share/man/man1/git-lfs-pre-push.1.gz
/usr/share/man/man1/git-lfs-prune.1.gz
/usr/share/man/man1/git-lfs-pull.1.gz
/usr/share/man/man1/git-lfs-push.1.gz
/usr/share/man/man1/git-lfs-smudge.1.gz
/usr/share/man/man1/git-lfs-standalone-file.1.gz
/usr/share/man/man1/git-lfs-status.1.gz
/usr/share/man/man1/git-lfs-track.1.gz
/usr/share/man/man1/git-lfs-uninstall.1.gz
/usr/share/man/man1/git-lfs-unlock.1.gz
/usr/share/man/man1/git-lfs-untrack.1.gz
/usr/share/man/man1/git-lfs-update.1.gz
/usr/share/man/man1/git-lfs.1.gz
/usr/share/man/man5/git-lfs-config.5.gz
References
Summary
In this tutorial we learn how to install git-lfs
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).