Created
October 28, 2016 17:44
-
-
Save IvanChepurnyi/9a5623e2a4fca6653aee22905b90bb9f to your computer and use it in GitHub Desktop.
Install Unison on Ubuntu LTE 12.04 from source
This file contains 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
#!/bin/bash | |
apt-get install python-software-properties | |
add-apt-repository ppa:avsm/ppa | |
apt-get update -y -f | |
apt-get install ocaml opam -y | |
mkdir -p /usr/src/unison/ | |
cd /usr/src/unison/ | |
wget https://www.seas.upenn.edu/~bcpierce/unison/download/releases/unison-2.48.4/unison-2.48.4.tar.gz -O unison.tar.gz | |
tar xzvf unison.tar.gz --strip-components 1 | |
make UISTYLE=text || true | |
chmod +x unison | |
mv unison /usr/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment