Last active
April 6, 2016 02:05
-
-
Save keeth/a58afe01b31f431aa878 to your computer and use it in GitHub Desktop.
Install pygit2 0.22.0 on a minimal Ubuntu Trusty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y pkg-config python-pip git libssl-dev zlib1g-dev cmake python-dev libffi-dev libssh2-1-dev | |
git clone https://github.com/libgit2/libgit2 \ | |
&& cd libgit2 \ | |
&& git checkout tags/v0.22.0 \ | |
&& mkdir build \ | |
&& cd build \ | |
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ | |
&& cmake --build . --target install \ | |
&& cd ../.. | |
git clone https://github.com/libgit2/pygit2 \ | |
&& cd pygit2 \ | |
&& git checkout tags/v0.22.0 \ | |
&& python setup.py install \ | |
&& cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment