[官网]mono的官方安装方法
mono 官方的安装方法 https://www.mono-project.com/download/stable/#download-lin-centos
Download
Release channels: Nightly - Preview - Stable - Visual Studio
The latest Stable Mono release is: 6.0.0 Stable (6.0.0.313)
Please choose your operating system to view the available packages. Source code is available on GitHub (viewing only) or as a Tarball.
1Add the Mono repository to your system
The package repository hosts the packages you need, add it with the following commands.
Note: the packages should work on newer Ubuntu versions too but we only test the ones listed below.
Ubuntu 18.04 (i386, amd64, armhf, arm64, ppc64el)
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
Ubuntu 16.04 (i386, amd64, armhf, arm64, ppc64el)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https ca-certificates
echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
2Install Mono
sudo apt install mono-devel
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 mono-dbg should be installed to get debugging symbols for framework libraries - allowing you to get line numbers in stack traces.
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 package mono-xsp4 should be installed for running ASP.NET applications.
3Verify Installation
After the installation completed successfully, it's a good idea to run through the basic hello world examples on this page to verify Mono is working correctly.
Notes
Mono on Linux before 3.12 by default didn't trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Mono's certificate store with the system certificate store (on older versions you had to import Mozilla's list of trusted certificates by running mozroots --import --sync
). Some systems are configured in a way so that the necessary package isn't pulled in when Mono is installed, in those cases make sure the ca-certificates-mono
package is installed.
相关文章
- GStreamer 官方资源大全
- 从DBus-cxx源码简要解析官方例程【1】
- Camtasia2023官方中文版免费下载
- 会声会影2023官方新功能介绍
- Vegas18 pro视频编辑软件下载官方激活码-序列号-密钥版-注册
- FMDB官方使用文档-GCD的使用-提高性能(翻译)
- 升级iOS8和iOS9系统后,保险箱Pro、私人保险箱、私密相冊打开就闪退的官方解决方式
- kafka 官方 Quickstart
- 【关于ChatGPT的30个问题】13、ChatGPT是否收到了任何官方的打击?/ By 禅与计算机程序设计艺术
- 【K8S】K8S-网络模型、POD/RC/SVC YAML 语法官方文档
- [Ubuntu]18安装navicat 破解版&官方版本
- [HOW TO]-下载android官方源码
- Adobe Dreamweaver CS6官方简体中文版安装+破解过程
- react-router-dom 官方示例解读(上)
- git 官方中文文档 http://git.oschina.net/progit/
- 实现底部的弹出框(官方API实现Android的在屏幕中间)
- k8s官方安装版本
- 根据kafka官方API对线上问题进行优化
- 基于STM32F4移植W5500官方驱动库ioLibrary_Driver(转)
- 经典系统windows xp sp3官方原版下载(附XP序列号)
- AngleSharp中文官方文档
- 【Android 内存优化】Bitmap 硬盘缓存 ( Google 官方 Bitmap 示例 | DiskLruCache 开源库 | 代码示例 )