Was this page helpful?

升級 Mono 至 v2.4.2.3

    內容表格
    1. 1. 開始安裝

    此篇的升級程序並不是從舊版本升級,而是保留舊版本,再另外安裝一個新版本,系統同時可保留新舊版本,好處是,若新版本之後發現不適用,可改回舊版本。

    開始安裝

    #>yum install bison gcc glib2-devel gettext pkgconfig make
    #>wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.4.2.3.tar.bz2
    #>tar xfvj mono-2.4.2.3.tar.bz2
    #>cd mono-2.4.2.3
    #>./configure --prefix=/opt/mono-2.4
    #>make
    #>make install
    #>cd /usr/bin
    #>mv mono mono.1.9.1.old
    #>mv gmcs gmcs.1.9.1.old
    #>ln -s /opt/mono-2.4/bin/mono /usr/bin/mono
    #>ln -s /opt/mono-2.4/bin/gmcs  /usr/bin/gmcs
    

    驗證安裝

    #>mono -V
    
    Mono JIT compiler version 2.4.2.3 (tarball Sat Dec 26 16:02:19 CST 2009)
    Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
            TLS:           __thread
            GC:            Included Boehm (with typed GC)
            SIGSEGV:       altstack
            Notifications: epoll
            Architecture:  x86
            Disabled:      none
    
    #>gmcs --version
    Mono C# compiler version 2.4.2.3
    Was this page helpful?
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core