1、下载mono源码
https://github.com/mono/mono/archive/mono-5.12.0.226.zip
2、安装步骤
把mono-5.12.0.226版本放到要安装的机器上
安装编译环境 apt-get intall build-essential
执行命令./configure (需要安装cmake,可以用apt-get install cmake安装)
执行命令make(make 是用来编译的,它从Makefile中读取指令,然后编译)
执行命令make install(用来安装的,它也从Makefile中读取指令,安装到指定的位置)
3、安装指令
sudo -iu root
apt-get install build-essential;
apt-get install cmake;
cd /home/username/mono-5.12.0.226/
chmod -R 777 ../mono-5.12.0.226
./configure
make
make install