Skip to content

Instantly share code, notes, and snippets.

@dpnishant
Last active November 30, 2016 21:16
Show Gist options
  • Save dpnishant/9afaa7916cf2ae2de548c6b2382be94e to your computer and use it in GitHub Desktop.
Save dpnishant/9afaa7916cf2ae2de548c6b2382be94e to your computer and use it in GitHub Desktop.
10a11,13
> apt-get install -y aptitude
> aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
> add-apt-repository ppa:ondrej/php
16,19c19,22
< apt-get install -y php5
< apt-get install -y php5-common
< apt-get install -y php5-curl
< apt-get install -y libapache2-mod-php5
---
> apt-get install -y php5.6
> apt-get install -y php5.6-common
> apt-get install -y php5.6-curl
> apt-get install -y libapache2-mod-php5.6
21c24
< apt-get install -y php5-mcrypt
---
> apt-get install -y php5.6-mcrypt
24c27
< apt-get install -y php5-cli
---
> apt-get install -y php5.6-cli
70,72c73,75
< wget https://codeload.github.com/libgit2/libgit2/tar.gz/v0.22.0 -O libgit2-0.22.0.tar.gz
< tar xzf libgit2-0.22.0.tar.gz
< cd libgit2-0.22.0/
---
> wget https://codeload.github.com/libgit2/libgit2/tar.gz/v0.24.1 -O libgit2-0.24.1.tar.gz
> tar xzf libgit2-0.24.1.tar.gz
> cd libgit2-0.24.1/
77c80
< pip install pygit2==0.22.0
---
> pip install pygit2==0.24.0
83a87
> pip install requests
88,89c92,93
< rm -rf libgit2-0.22.0.tar.gz
< rm -rf libgit2-0.22.0/
---
> rm -rf libgit2-0.24.1.tar.gz
> rm -rf libgit2-0.24.1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment