下面是我在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