Search code examples
gitamazon-sagemakerapt

I can not install "git-lfs" on aws sagemaker notebook instance


I Can not run apt to install git-lfs on sagemaker notebook instance. I want to run git commands in my notebook.


Solution

  • use the following commands to install git-lfs

    !curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
    
    !sudo yum install git-lfs -y
    
    !git lfs install
    

    that should make it work