Centos 7 install the latest mono through the continuous integration package

Source: Internet
Author: User
Tags gpg

Mono 3.6.0 was released. This version has submitted a total of 878 commits since the previous version. A total of 66 contributors have participated in the development since March 10, 2014. Among them, 22 have contributed to the initial submission and they have fixed 112 bugs. For details, see the mono 3.6 release, nuget can be used in MAC systems. Mono's official website has also been updated, and the interface is fresh. On the download page, only the framework under OSX is the latest. packages on other platforms are still being tested. you can install the frameworks through the source code or the official continuous integration package, see the document continuous integration packages.

The Linux platform package is divided into two releases:Debian series (supports Debian 7 +, UBUNTU 11.04 +, mint 11 +, and elementary 0.2 +)AndRed Hat (supports centos 7 +, mageia 3 +, fedora 19 +, and opensuse 12.3 + ).

The following describes how to install the latest mono 3.8.1 on centos 7:

1. Add the mono package Source:

Import the Mono Project Public Jenkins GPG signing to the system:

Wget http://jenkins.mono-project.com/repo/xamarin.gpg

rpm --import xamarin.gpg

yum-config-manager --add-repo http://jenkins.mono-project.com/repo/centos/

2. Search for mono-snapshot in the package manager to find the latest package that can be installed.

yum search mono-snapshot

[Mono-20140816130953] [[email protected] jexus-5.6.1] # Yum search mono-Snapshot loaded Plugin: fastestmirror, langpacksloading mirror speeds from cached hostfile * base: mirrors.grandcloud.cn * extras: mirrors.pubyun.com * rpmforge: mirrors.neusoft.edu.cn * updates: mirrors.pubyun.com ========================================== ========================================== N/S matched: mono-Snapshot ========================================== ================================================================ mono-snapshot-20140807112602.x86_64: mono runtime snapshot-runtime (GIT commit 76c34a1) mono-snapshot-20140807112602-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 76c34a1) mono-snapshot-20140813035605.x86_64: Mono runtime snapshot-runtime (GIT commit 0322d96) mono-snapshot-20140813035605-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 0322d96) mono-snapshot-20140813112032.x86_64: Mono runtime snapshot-runtime (GIT commit a4f96bc) mono-snapshot-20140813112032-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit a4f96bc) mono-snapshot-20140813120821.x86_64: mono runtime snapshot-runtime (GIT commit 9c37758) mono-snapshot-20140813120821-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 9c37758) mono-snapshot-20140813121150.x86_64: Mono runtime snapshot-runtime (GIT commit db3eb16) mono-snapshot-20140813121150-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit db3eb16) mono-snapshot-20140813125854.x86_64: Mono runtime snapshot-runtime (GIT commit e464526) mono-snapshot-20140813125854-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit e464526) mono-snapshot-20140813130628.x86_64: mono runtime snapshot-runtime (GIT commit 2ceb43d) mono-snapshot-20140813130628-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 2ceb43d) mono-snapshot-20140813134928.x86_64: Mono runtime snapshot-runtime (GIT commit 37dcfd1) mono-snapshot-20140813134928-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 37dcfd1) mono-snapshot-20140813140439.x86_64: Mono runtime snapshot-runtime (GIT commit d273a16) mono-snapshot-20140813140439-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit d273a16) mono-snapshot-20140814031123.x86_64: mono runtime snapshot-runtime (GIT commit 62a15c8) mono-snapshot-20140814031123-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 62a15c8) mono-snapshot-20140814053610.x86_64: Mono runtime snapshot-runtime (GIT commit 5f5bed4) mono-snapshot-20140814053610-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 5f5bed4) mono-snapshot-20140814102557.x86_64: Mono runtime snapshot-runtime (GIT commit 5aeec74) mono-snapshot-20140814102557-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 5aeec74) mono-snapshot-20140814122203.x86_64: mono runtime snapshot-runtime (GIT commit 33023bf) mono-snapshot-20140814122203-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 33023bf) mono-snapshot-20140814131548.x86_64: Mono runtime snapshot-runtime (GIT commit 407b816) mono-snapshot-20140814131548-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 407b816) mono-snapshot-20140814190650.x86_64: Mono runtime snapshot-runtime (GIT commit 844ad76) mono-snapshot-20140814190650-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 844ad76) mono-snapshot-20140814192915.x86_64: mono runtime snapshot-runtime (GIT commit 12e4b4f) mono-snapshot-20140814192915-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 12e4b4f) mono-snapshot-20140815071644.x86_64: Mono runtime snapshot-runtime (GIT commit 31e92f2) mono-snapshot-20140815071644-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 31e92f2) mono-snapshot-20140815123851.x86_64: Mono runtime snapshot-runtime (GIT commit 230b3bf) mono-snapshot-20140815123851-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 230b3bf) mono-snapshot-20140815125921.x86_64: mono runtime snapshot-runtime (GIT commit 5ab34b2) mono-snapshot-20140815125921-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 5ab34b2) mono-snapshot-20140816014620.x86_64: Mono runtime snapshot-runtime (GIT commit 76efee0) mono-snapshot-20140816014620-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 76efee0) mono-snapshot-20140816060806.x86_64: Mono runtime snapshot-runtime (GIT commit 557ad88) mono-snapshot-20140816060806-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit 557ad88) mono-snapshot-20140816072941.x86_64: mono runtime snapshot-runtime (GIT commit eaa343f) mono-snapshot-20140816072941-assemblies.noarch: Mono runtime snapshot-assemblies (GIT commit eaa343f) mono-snapshot-20140816130953.x86_64: Mono runtime snapshot-runtime (GIT commit 6986ed5) mono-snapshot-20140816130953-assemblies.noarch: mono runtime snapshot-assemblies (GIT commit 6986ed5) mono-snapshot-common.noarch: Common helper tools for mono snapshot packagesmono-snapshot-latest.noarch: Mono runtime snapshot-Latest Version metapackage
Mono-Snapshot-XXXXXXXXXIndicates a specific version of the package,Mono-Snapshot-LatestIs the latest version of the package, installMono-Snapshot-LatestThe package manager can update the package to the latest version. A tool named mono-snapshot is included in all installation packages.

[[Email protected] ~] # Mono-Snapshot
This script will help you to set up your environment to use
Snapshot package of mono. To use it, run:

. Mono-Snapshot APP/VER

You have the following possible combinations of APP/VER:

Mono/20140816130953

Calling app without specifying ver will load the latest version

We can see that a version 20140816130953 is installed in the system,

3、Yum-y install mono-Snapshot-Latest

[[Email protected] SRC] # Yum-y install mono-Snapshot-Latest loaded Plugin: fastestmirror, langpacksloading mirror speeds from cached hostfile * base: mirrors.grandcloud.cn * extras: Quota * rpmforge: mirrors. digipower. vn * updates: mirrors.pubyun.com is working on dependencies --> checking transactions --> the package mono-snapshot-latest.noarch.0.20140816130953-0 will be installed --> processing dependency mono-Snapshot-20140816130953, it is packaged with mono-Snapshot-Latest -20140816130953-0.noarch required --> checking transaction ---> the package mono-snapshot-20140816130953.x86_64.0.20140816130953-0 will be installed --> processing dependency mono-Snapshot-common, it is required by the software package mono-snapshot-20140816130953-20140816130953-0.x86_64 --> is processing dependencies mono-Snapshot-20140816130953-assemblies, it is required by the software package mono-snapshot-20140816130953-20140816130953-0.x86_64 --> is checking transactions --> Software Package mono-snapshot-20140816130953-assemblies.noarch.0.20140816130953-0 Will be installed ---> the package mono-snapshot-common.noarch.0.00000010-0 will be installed ...... Installed as dependencies: mono-snapshot-20140816130953.x86_64 0: 20140816130953-0 mono-snapshot-20140816130953-assemblies.noarch 0: 20140816130953-0 mono-snapshot-common.noarch 0: 00000010-0 use the mono-Snapshot tool to see the latest version of our installed Mono is 3.8.1:
[[Email protected] ~] #. Mono-Snapshot mono [mono-20140816130953] [[email protected] ~] # Mono -- versionmono JIT compiler version 3.8.1 (tarball Sat Aug 16 16:20:35 EDT 2014) Copyright (c) 2002-2014 Novell, Inc, xamarin INC and contributors. www.mono-project.com TLS: _ thread SIGSEGV: altstack specifications: epoll architecture: amd64 disabled: None MISC: softdebug llvm: supported, not enabled. GC: sgen pay attention to the ". ".
4. Let jexus use the latest mono
Modify the jexus script to add the latest mono path, as shown in figure

 
[Mono-20140816130953] [[email protected] ~] # Cd/usr/jexus/[mono-20140816130953] [[email protected] jexus] # vi JWS [mono-20140816130953] [[email protected] jexus] # service JWS restartrestarting JWS (via systemctl): [OK] [mono-20140816130953] [[email protected] jexus] #

For the script to add jexus as a system service, see centos 7.0 install mono 3.4 and jexus 5.6.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.