你的位置:首页 > 操作系统

[操作系统]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