Report this

What is the reason for this report?

Install Unison In CentOS 7

Posted on October 23, 2014

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.

Thanks



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!

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.

Got it. It works this way.

How to install Unison in CentOS 7

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

cd ~
wget http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.40.102.tar.gz
tar xvfz unison-2.40.102.tar.gz
cd unison-2.40.102
make

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.