阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

CentOS7 安装 Mono

226次阅读
没有评论

共计 1302 个字符,预计需要花费 4 分钟才能阅读完成。

CentOS7 安装 Mono 官网参考:http://www.mono-project.com/docs/getting-started/install/linux/#centos-7-fedora-19-and-later-and-derivatives

先配置:

yum install yum-utils
rpm --import "http://keyserver.Ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/

配置完后怎么安装呢?上面的地址给了一句话:

Run a package upgrade to upgrade existing packages to the latest available. Then install Mono as described in the Usage section.

查看 Usage 是这样的:

The package mono-devel should be installed to compile code.

The package mono-complete should be installed to install everything – this should cover most cases of“assembly not found”errors.

The package referenceassemblies-pcl should be installed for PCL compilation support – this will resolve most cases of“Framework not installed: .NETPortable”errors during software compilation.

The package ca-certificates-mono should be installed to get SSL certificates for HTTPS connections. Install this package if you run into trouble making HTTPS connections.

The module mono-xsp4 should be installed for running ASP.NET applications.

那么问题来了,到底怎么安装???其实上面的意思就是这样:

yum upgrade
yum install mono-complete

在长时间的安装之后,通过这个地址的文档来验证安装状态:

http://www.mono-project.com/docs/getting-started/mono-basics/

更多 CentOS 相关信息见 CentOS 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=14

本文永久更新链接地址 :http://www.linuxidc.com/Linux/2017-05/143789.htm

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-21发表,共计1302字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中