github.com/q2/git-lfs@v0.5.1-0.20150410234700-03a0d4cec40e/docs/linux-build.md (about)

     1  ## Building on Linux
     2  
     3  ## Ubuntu 14.04 (Trusty Tahr)
     4  
     5  ### Building
     6  
     7  ```
     8  sudo apt-get install golang-go git
     9  
    10  ./script/bootstrap
    11  ```
    12  
    13  That will place a git-lfs binary in the `bin/` directory. Copy the binary to a directory in your path:
    14  
    15  ```
    16  sudo cp bin/git-lfs /usr/local/bin
    17  ```
    18  
    19  Try it:
    20  
    21  ```
    22  [949][rubiojr@octox] git lfs
    23  git-lfs v0.0.1
    24  
    25  [~]
    26  [949][rubiojr@octox] git lfs init
    27  git lfs initialized
    28  ```
    29  
    30  ### Installing the man pages
    31  
    32  You'll need ruby and rubygems to install the `ronn` gem:
    33  
    34  
    35  ```
    36  sudo apt-get install ruby build-essential
    37  sudo gem install ronn
    38  ./script/man
    39  sudo mkdir -p /usr/local/share/man/man1
    40  sudo cp man/*.1 /usr/local/share/man/man1
    41  ```
    42  
    43  `git help lfs` should show the git-lfs man pages now.