Install Unison In CentOS 7

Hello I has CentOS 6 and unison installed and worked great and now I am using CentOS 7 and unison does not even exist. I don’t want to install EPEL for CentOS 6 when EPEL exist for CentOS 7. The sad part is EPEL 7 does not have unison.


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Got it. It works this way.

How to install Unison in CentOS 7

yum install ocaml ocaml-camlp4-devel ctags ctags-etags

cd ~
tar xvfz unison-2.40.102.tar.gz
cd unison-2.40.102

sudo cp -v unison /usr/local/sbin/

cd ~
rm -fr unison*

One more thing. You also have to place the “unison” binary in the “/usr/bin” folder else you will get this error from the other end server where you installed unison.

Contacting server...
bash: unison: command not found
Fatal error: Lost connection with the server

so do the following

sudo cp -v unison /usr/local/sbin/
sudo cp -v unison /usr/bin