Created
November 15, 2024 08:44
-
-
Save J-Moravec/203a8a03f0ccffc45c5332257babee88 to your computer and use it in GitHub Desktop.
Install unison with unison-fsmonitor
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
# unison-fsmonitor is not available in the repositories | |
# it is reported and discussed for like 8 years already | |
# there is no hope, only manual compile | |
#!/bin/bash | |
UNISON_VERSION=2.51.5 # version in Ubuntu repo | |
echo "Install Unison." \ | |
&& apt install wget ocaml \ | |
&& pushd /tmp \ | |
&& wget https://github.com/bcpierce00/unison/archive/v$UNISON_VERSION.tar.gz \ | |
&& tar -xzvf v$UNISON_VERSION.tar.gz \ | |
&& rm v$UNISON_VERSION.tar.gz \ | |
&& pushd unison-$UNISON_VERSION \ | |
&& make \ | |
&& cp -t /usr/local/bin ./src/unison ./src/unison-fsmonitor \ | |
&& popd \ | |
&& rm -rf unison-$UNISON_VERSION \ | |
&& popd \ | |
&& apt purge ocaml* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment