1、看官方的命令:
另外一种是下载压缩包解压之后安装:
https://apps.fedoraproject.org/packages/mono/
三、安装Mono需要的GDI+兼容API的库Libgdiplus
cd /usr/local/src/
wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz 请根据实际情况更改下载的地址
tar -zxvf libgdiplus-4.2.tar.gz
cd libgdiplus-4.2
./configure
make
make install
四、安装 mono
cd /usr/local/src/
wget http://download.mono-project.com/sources/mono/mono-4.8.0.495.tar.bz2 根据实际情况更改:
tar -jxvf mono-4.8.0.495.tar.bz2
cd mono-4.8.0.495
./configure --prefix=/usr
make
make install
yum install monodevelop
如果安装成功:
mono -v 可以看到信息
参考:http://blog.csdn.net/yenange/article/details/53489361