Linux Mono安装步骤

 

下面是我在Linux中安装Mono详细步骤,希望给大家有所帮助:

[root@localhost] wget http://download.mono-project.com/sources/mono/mono-4.2.1.102.tar.bz2

[root@localhost] tar -jxvf mono-4.2.1.102.tar.bz2

[root@localhost] cd mono-4.2.1/

[root@localhost] ./configure --prefix=/usr/local/mono

[root@localhost] make && make install

[root@localhost] cd /etc/

[root@localhost] vi profile
在最后添环境变量:
PATH=/usr/local/mono
export PATH
保存并退出
[root@localhost] source /etc/profile 设置生效

[root@localhost] mono -V

相关推荐