CentOS 7 install the latest Mono and centosmono through the continuous integration package
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] [root @ localhost jexus-5.6.1] #yum search mono-snapshot
Loaded plugins: fastestmirror, langpacks
Loading 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: Commonhelper tools for Mono snapshot packages
mono-snapshot-latest.noarch: Mono runtime snapshot-latest version metapackage
mono-snapshot-XXXXXXXXX represents a specific version of the package, mono-snapshot-latest is the latest version of the package, install mono-snapshot-latest, the package manager can update the package to the latest. All installation packages come with a tool mono -snapshot
[root @ localhost ~] # mono-snapshot
This script will help you to set up your environment to use a
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 see a version 20140816130953 installed in the system,
3. yum -y install mono-snapshot-latest
[root @ localhost src] # yum -y install mono-snapshot-latest
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.grandcloud.cn
* extras: mirrors.pubyun.com
* rpmforge: mirrors.digipower.vn
* updates: mirrors.pubyun.com
Resolving dependencies
-> Checking transaction
---> The package mono-snapshot-latest.noarch.0.20140816130953-0 will be installed
-> Processing dependency mono-snapshot-20140816130953, which is required by the package mono-snapshot-latest-20140816130953-0.noarch
-> Checking transaction
---> The package mono-snapshot-20140816130953.x86_64.0.20140816130953-0 will be installed
-> Processing dependency mono-snapshot-common, which is required by the package mono-snapshot-20140816130953-20140816130953-0.x86_64
-> Processing dependency mono-snapshot-20140816130953-assemblies, which is required by the package mono-snapshot-20140816130953-20140816130953-0.x86_64
-> Checking transaction
---> The 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 a dependency:
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 Mono we installed is 3.8.1:
[root @ localhost ~] #. mono-snapshot mono
[mono-20140816130953] [root @ localhost ~] # mono --version
Mono 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
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Note the "." In front of the mono-snapshot.
4. Let Jexus use the latest Mono
Modify the Jesus script to add the latest mono path, such as
[mono-20140816130953] [root @ localhost ~] # cd / usr / jexus /
[mono-20140816130953] [root @ localhost jexus] # vi jws
[mono-20140816130953] [root @ localhost jexus] # service jws restart
Restarting jws (via systemctl): [OK]
[mono-20140816130953] [root @ localhost jexus] #
For the script of adding Jexus as a system service, see "Centos 7.0 Installing Mono 3.4 and Jexus 5.6".
How to install monodevelop on centos54
After installing centos on the virtual machine, mono is installed, and no version appears after mono -v. ?
Capital V, not lowercase. Lou Zhu keeps a QQ, and is also engaged in a recent one. Encountered many problems. Under discussion.