CentOS 安装 mono

1. 安装EPEL

2. 安装软件包

yum install bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget

 

3. 下载mono源码并编译安装

cd /usr/local/src wget http://download.mono-project.com/sources/mono/mono-2.10.8.tar.gz 
tar zxvf mono-2.10.8.tar.gz 
cd mono-2.10.8 
./configure --prefix=/usr/local 
make && make install

 

你可能感兴趣的:(centos)