[Mono-list] How to install mono using yum on CentOS?

Agustin Gimenez geniwab at gmail.com
Fri Nov 21 13:50:21 UTC 2014


My experience on CentOS is that's a lot better to compile from git, it's
really easy:

  $ sudo apt-get install git autoconf libtool automake build-essential
gettext
  $ git clone git://github.com/mono/mono.git
  $ cd mono
  $ ./autogen.sh --prefix=/usr/local
  $ make get-monolite-latest
  $ make EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe"
  $ make
  $ make install

With that you will have the latest mono version up and running.

Cheers.

2014-11-21 13:11 GMT+01:00 terender <terender at hotmail.com>:

> I'm using CentOS 6.6 and add the mono package repository into yum. But I
> found that the dependence libraries libpng15.so.15 libtiff.so.5 libc.so.6
> were not in any of the repositories. I've already add the EPEL repository
> but the top version of these libraries could not satisfy.
>
> the log is below
>
> Error: Package: libgdiplus0-3.8-0.x86_64
> (download.mono-project.com_repo_centos_)
>            Requires: libpng15.so.15()(64bit)
> Error: Package: libgdiplus0-3.8-0.x86_64
> (download.mono-project.com_repo_centos_)
>            Requires: libtiff.so.5()(64bit)
> Error: Package: mono-core-3.10.0-2.x86_64
> (download.mono-project.com_repo_centos_)
>            Requires: libc.so.6(GLIBC_2.16)(64bit)
> Error: Package: libgdiplus0-3.8-0.x86_64
> (download.mono-project.com_repo_centos_)
>            Requires: libc.so.6(GLIBC_2.14)(64bit)
> Error: Package: libgdiplus0-3.8-0.x86_64
> (download.mono-project.com_repo_centos_)
>            Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
> Error: Package: libgdiplus0-3.8-0.x86_64
> (download.mono-project.com_repo_centos_)
>            Requires: libpng15.so.15(PNG15_0)(64bit)
>
>
> for example that the glibc library in repository is
>
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * epel: mirrors.yun-idc.com
> Installed Packages
> Name        : glibc
> Arch        : x86_64
> Version     : 2.12
> Release     : 1.149.el6
> Size        : 12 M
> Repo        : installed
> From repo   : base
>
> So how could I install mono using yum?  Or the only way is to compile mono
> with source code ?
>
>
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/How-to-install-mono-using-yum-on-CentOS-tp4664746.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20141121/ba680816/attachment.html>


More information about the Mono-list mailing list