CentOS 5 yum Mono 2.4成功安装笔记

Linux和Microsoft向来是水不容,这些年Microsft和Novell合作后情况有了些许的改观。但是想要各自的应用程序能无缝地迁移估计 都是比较困难的事情。而MONO是由Novell公司发起的一个开源项目,用于在Linux环境中提供ASP.NET支持。

#

CentOS 5 linux(注:目前只兼容32位系统)上

#

源码的安装依赖相应的开发包,所以在安装mono之装需先安装apache组件。

#

#yum -y install http*

Mono的安装有多种方式,RedHat  Linux下最简单直接 yum 安装,在CentOS5下面,可以通过下面的方式来 yum 安装,建立Mono的更新源

#

#vim /etc/yum.repos.d/Mono.repo 


[Mono]
name=Mono Stack (CentOS_5)
type=rpm-md
baseurl=http://download.openSUSE.org/repositories/home:/mindtouch:/Mono/CentOS_5/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/mindtouch:/Mono/CentOS_5/repodata/repomd.xml.key
enabled=1

[root@localhost yum.repos.d]# rpm -qa|grep mono

[root@localhost yum.repos.d]# yum install mono* xsp mod_mono

Dependencies Resolved

====================================================================================================================================
Package                                Arch                   Version                               Repository                Size
====================================================================================================================================
Installing:
mod_mono                               i386                   1.2.1-1.el5.centos                    extras                    36 k
mono-core                              i386                   2.4-4.3                               Mono                      14 M
mono-data                              i386                   2.4-4.3                               Mono                     1.5 M
mono-data-firebird                     i386                   2.4-4.3                               Mono                     252 k
mono-data-Oracle                       i386                   2.4-4.3                               Mono                     184 k
mono-data-postgresql                   i386                   2.4-4.3                               Mono                     203 k
mono-data-sqlite                       i386                   2.4-4.3                               Mono                     157 k
mono-data-sybase                       i386                   2.4-4.3                               Mono                     160 k
mono-devel                             i386                   2.4-4.3                               Mono                     1.8 M
mono-extras                            i386                   2.4-4.3                               Mono                     1.5 M
mono-jscript                           i386                   2.4-4.3                               Mono                     410 k
mono-locale-extras                     i386                   2.4-4.3                               Mono                     783 k
mono-moonlight                         i386                   2.4-4.3                               Mono                     1.5 M
mono-nunit                             i386                   2.4-4.3                               Mono                     223 k
mono-nunit-devel                       i386                   2.4-4.3                               Mono                      14 k
mono-web                               i386                   2.4-4.3                               Mono                     3.1 M
mono-web-devel                         i386                   2.4-4.3                               Mono                      14 k
mono-winforms                          i386                   2.4-4.3                               Mono                     3.0 M
monodoc                                i386                   2.4-4.3                               Mono                     7.3 M
monodoc-devel                          i386                   2.4-4.3                               Mono                      14 k
xsp                                    i386                   1.2.1-1.el5.centos                    extras                   233 k
Installing for dependencies:
giflib                                 i386                   4.1.3-7.1.el5_3.1                     base                      39 k
httpd                                  i386                   2.2.3-43.el5.centos                   base                     1.2 M
libgdiplus                             i386                   2.4-5.3                               Mono                     1.3 M

Transaction Summary
====================================================================================================================================
Install     24 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 39 M

#

安装后应该得到:
[root@magic yum.repos.d]$ rpm -qa|grep mono

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/b11abe9421237cc348e9cae0aadb89d6.html