centos下安装mono
由于公司成本考虑的需要,需要在linux下进行.net程序的开发和应用。所以就要在linux下安装mono环境。由于只是程序的开发,并不涉及到ASP.net网页技术的开发,所以这里就不需要安装Jexus了。
源码编译安装mono还是十分简单的,只不过可能耗费的时间有点长而已。具体步骤如下:
1、更新系统
1yum –y update
2、安装Mono源码安装需要的库
1yum -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
3、安装Mono需要的GDI+兼容API的库Libgdiplus
1cd /usr/local/src/
2wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
3tar -jxvf libgdiplus-2.10.tar.bz2
4cd libgdiplus-2.10
5./configure --prefix=/usr
6make
7make install
4、安装 mono
1cd /usr/local/src/
2wget http://download.mono-project.com/sources/mono/mono-2.10.8.tar.bz2
3tar -jxvf mono-2.10.8.tar.bz2
4cd mono-2.10.8
5./configure --prefix=/usr
6make
7make install
安装完成后,在终端输入 mono -V 如有mono版本信息,则安装成功。
捐赠本站(Donate)
如您感觉文章有用,可扫码捐赠本站!(If the article useful, you can scan the QR code to donate))
- Author: shisekong
- Link: https://blog.361way.com/centos-instal-mono/2348.html
- License: This work is under a 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议. Kindly fulfill the requirements of the aforementioned License when adapting or creating a derivative of this work.