Mono4安装教程

一、 更新系统

yum –y update

二、安装Mono源码安装需要的库

yum -y install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel cairo-devel bzip2


三、安装Mono需要的GDI+兼容API的库Libgdiplus

cd /usr/local/src/

wget http://120.52.73.80/download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz

tar -zxvf libgdiplus-4.2.tar.gz

cd libgdiplus-4.2

./configure --prefix=/usr

make

make install

四、安装 mono

cd /usr/local/src/

wget http://download.mono-project.com/sources/mono/mono-4.4.2.4.tar.bz2

tar -jxvf mono-4.4.2.4.tar.bz2

cd mono-4.4.2

./configure --prefix=/usr

make

make install

输入 mono -V 如有mono版本信息,则安装成功.

posted on 2016-07-23 17:27  VincentZhu  阅读(230)  评论(0编辑  收藏  举报