Tech Monger

Programming, Web Development and Computer Science.

Skip to main content| Skip to information by topic

GIT LFS Installation Redhat Linux

GIT LFS may not be shipped inside redhat EPEL repository. We will learn how to install it manually using rpm package from the official release page.

GIT LFS Installation Steps

  • Download the latest GIT LFS RPM file for your distribution from the AWS official release page.

    https://github.com/git-lfs/git-lfs/releases
    curl https://packagecloud.io/github/git-lfs/packages/el/7/git-lfs-2.12.0-1.el7.x86_64.rpm/download
  • Login as root user on the Linux machine to perform the installation.

    sudo su - root

  • Execute the following command to perform the installation.

    rpm -iv git-lfs-2.12.0-1.el7.x86_64.rpm

  • Once installed you will be able to use git-lfs with following

    git-lfs  --version

Conclusion

We can always find rpm file for the open source package which may not be shipped inside official distribution repository.

Tagged Under : Git Linux Open Source