Redirected from en/docs/mindtouch setup/010Installation/020Installing on Debian/Upgrading Mono on Debian
2 of 5 found this page helpful

Installing/Upgrading Mono on Debian

    Overview

    This page will help you upgrade Mono on Debian, the operating system used by the MindTouch VM.

    Goal

    After completing this tutorial you will have Mono on the minimum required version for MindTouch.

     

    Upgrading Mono on Debian Lenny (5.0)

    apt-get update
    apt-get install gcc libtool bison pkg-config libglib2.0-dev gettext make bzip2 g++
    
    wget http://origin-download.mono-project.com/sources/mono/mono-2.10.2.tar.bz2
    tar xvjf mono-2.10.2.tar.bz2
    cd mono-2.10.2
    ./configure --prefix=/opt/mono-2.10
    
    # this might take 30-60 minutes
    make
    make install
    
    cd /usr/bin
    mv mono mono.old
    mv gmcs gmcs.old
    ln -s /opt/mono-2.10/bin/mono /usr/bin/mono
    ln -s /opt/mono-2.10/bin/gmcs /usr/bin/gmcs
    

    Verify:

    mindtouch:~# mono --version
    Mono JIT compiler version 2.10.2 (tarball Wed Jun  15 04:40:15 PST 2011)
    Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
            TLS:           __thread
            SIGSEGV:       altstack
            Notifications: epoll
            Architecture:  x86
            Disabled:      none
            Misc:          softdebug
            LLVM:          supported, not enabled.
            GC:            Included Boehm (with typed GC and Parallel Mark)
    

    Previous Debian versions

    No previous versions of Debian are currently supported.  This means you do not get any security updates for key components such as Apache and PHP, and could well be opening your wiki up to exploitation if it is on the public Internet.

    If you are running Debian Etch, we strongly recommend you upgrade to Lenny immediately.  Full instructions can be found in the Debian manual, or summarized HOWTO guides can be found online.

    What's Next

    Upgrading Mono will ensure you have access to all of MindTouch functionality along with ensuring your MindTouch site's performance is optimal

    Was this page helpful?
    Tag page
    Viewing 11 of 11 comments: view all
    Followed the instructions but failed to upgrade. I'm still on 2.4 and not 2.4.3. Do I need to run this command to propagate the change?
    apt-get dist-upgrade edited 16:03, 16 Aug 2010
    Posted 15:55, 16 Aug 2010
    seems that "apt-get -t lenny-backports install mono-gac" (just mono-gac) is enough.
    Posted 07:43, 1 Sep 2010
    @bohappa: right now (sept 1) the version in backport is 2.4.2.3 and dekiwiki works (mono --version)
    Posted 07:46, 1 Sep 2010
    @FormidableInc Thank you. I upgraded to lenny and all works fine.
    Posted 08:18, 1 Sep 2010
    The links above are still incorrect ...
    Posted 08:10, 7 Feb 2011
    @joolsr can you confirm what links you are referencing? I clicked on the links to upgrade and those resolved correctly. Thank you.
    Posted 21:30, 8 Feb 2011
    @coreyg when i tried ln -s /opt/mono-2.4/bin/mono /usr/bin/mono and ln -s /opt/mono-2.4/bin/gmcs /usr/bin/gmcs the links weren't correct
    Posted 01:43, 9 Feb 2011
    @joolsr Did it say the links didn't exist? Are you able to run mono --version and get that the version is 2.4.3? Were there any errors when running the lines above that?
    Posted 07:25, 9 Feb 2011
    I cant remember now, but certainly i didnt get mono --version to be equal to 2.4.3 ....
    Posted 10:06, 9 Feb 2011
    System components should be built as packages and installed using dpkg/apt, not installed from source in /opt. Aside from the implications of security updates, you are causing customers to require a full compiler toolchain on their machine.
    Posted 03:55, 24 Jun 2011
    Try WGET FTP:// instead of HTTP:// to get the Mono-distri
    Posted 00:24, 7 Jul 2011
    Viewing 11 of 11 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by