Centos7下安装mono3.10.0
mono 3.10.0 正式发布:性能进一步改进,以前已经写过一篇 Centos 7.0 安装Mono 3.4 和Jexus 5.6。下面我们在CentOS 7上通过源码安装Mono 3.10, 需要安装最新的libgdiplus3.8。
1. 安装依赖项
yum -y install wget glib2-devel libtiff libtiff-devel libjpeg libjpeg-devel giflib giflib-devel libpng libpng-devel libX11 libX11-devel freetype freetype-devel fontconfig fontconfig-devel libexif libexif-devel gcc-c++ gettext unzip zip bzip2 bzip2-devel curl-devel gtk2-devel boost-devel cairo-devel
2.下载libgdiplus-3.8 并安装
cd /usr/local/src
wget http://origin-download.mono-project.com/sources/libgdiplus/libgdiplus-3.8.tar.gz
tar -zxvf libgdiplus-3.8.tar.gz
cd libgdiplus-3.8
./configure --prefix=/usr
make
make install
3. 下载mono3.10.0 并安装
cd /usr/local/src
wget http://download.mono-project.com/sources/mono/mono-3.10.0.tar.bz2
tar -jxvf mono-3.10.0.tar.bz2
cd mono-3.10.0
./configure --prefix=/usr
make
make install
4.安装Jexus
wget linuxdot.net/down/jexus-5.6.3.tar.gz
tar -zxvf jexus-5.6.3.tar.gz
cd jexus-5.6.3
./install
[root@Mono jexus]# find / -name 'libMonoPosixHelper.so'
/usr/lib64/libMonoPosixHelper.so
/usr/local/src/mono-3.10.0/support/.libs/libMonoPosixHelper.so
/usr/lib/libMonoPosixHelper.so
欢迎大家扫描下面二维码成为我的客户,扶你上云
![](https://images.cnblogs.com/cnblogs_com/shanyou/57459/o_220125090408_%E9%82%80%E8%AF%B7%E4%BA%8C%E7%BB%B4%E7%A0%81-258px.jpeg)