Skip to content

Instantly share code, notes, and snippets.

@ethanmick
Last active June 20, 2016 19:19
Show Gist options
  • Save ethanmick/42bfca7a42d16eaceae02f554939afa1 to your computer and use it in GitHub Desktop.
Save ethanmick/42bfca7a42d16eaceae02f554939afa1 to your computer and use it in GitHub Desktop.
Install pygit2 on Ubuntu 16.04. Can be used as a vagrant shell provision with the raw url.
sudo apt-get update
sudo apt-get install \
python-dev \
libffi-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
libssh2-1 \
libgit2-dev \
python-pip \
libgit2-24 -y
sudo pip install pygit2
@ethanmick
Copy link
Author

ethanmick commented Jun 20, 2016

Usage:

curl -s https://gist.githubusercontent.com/ethanmick/42bfca7a42d16eaceae02f554939afa1/raw/4e3342c754b15a6071236f53bb9b38afb3c000a0/install_pygit2.sh | sudo bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment