Unity Editor linux setup – mono development on RHEL 7

The latest Unity Editor for linux (5.3 and above) will require Mono 4.0.
When installing in Ubuntu the .deb package will pull all the dependencies correctly, however in RHEL 7 (or derivates) the dependencies will need a bit of extra love.

After adding the mono repo (instructions here)
You will need to install mono-devel and mono-complete, but you will be met with 20+ screens of packages requirements fails:

...
Error: Package: mono-devel-4.0.3.20-0.xamarin.1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: mono-data = 4.0.3.20
           Removing: mono-data-2.10.8-9.el7.x86_64 (@epel)
               mono-data = 2.10.8-9.el7
           Updated By: mono-data-4.2.3.4-0.xamarin.1.x86_64 (download.mono-project.com_repo_centos_)
               mono-data = 4.2.3.4-0.xamarin.1
           Available: mono-data-3.8.0-1.x86_64 (download.mono-project.com_repo_centos_)
               mono-data = 3.8.0-1
...

Some how, yum is not able to make the link between mono-devel, mono-complete, and mono-core.
And of course, RHEL will only have mono-core-2.0.

You will need to manually remove all mono packages in your system, before trying to install mono from its repo.

A quick and dirty way of doing it:

yum remove mono-*
yum install mono-core mono-complete

You will now have mono-core 4.0, ready for your Unity playground.

Previous
Previous

rlm linux – serving several licenses

Next
Next

register maya serial number in linux with adlmreg