Skip to content

Instantly share code, notes, and snippets.

@IvanChepurnyi
Created October 28, 2016 17:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IvanChepurnyi/9a5623e2a4fca6653aee22905b90bb9f to your computer and use it in GitHub Desktop.
Save IvanChepurnyi/9a5623e2a4fca6653aee22905b90bb9f to your computer and use it in GitHub Desktop.
Install Unison on Ubuntu LTE 12.04 from source
#!/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