Skip to content

Instantly share code, notes, and snippets.

@ryepup
Created April 1, 2015 14:00
Show Gist options
  • Save ryepup/542bfc28247da7051b3a to your computer and use it in GitHub Desktop.
Save ryepup/542bfc28247da7051b3a to your computer and use it in GitHub Desktop.
install pygit2 + libgit2 w/ SSH support on ubuntu
#!/bin/sh
sudo aptitude install pkg-config libssh2-1-dev libhttp-parser-dev libssl-dev libz-dev
wget https://github.com/libgit2/libgit2/archive/v0.22.0.tar.gz
tar xzf v0.22.0.tar.gz
cd libgit2-0.22.0/
cmake .
make
sudo make install
sudo pip install pygit2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment