当前位置: 首页 > 工具软件 > MonoDevelop > 使用案例 >

Ubuntu安装MonoDevelop

后化
2023-12-01

安装步骤

在ubuntu终端执行下面步骤代码

第一步 :安装源
根据自己的版本在Ubuntu上安装Mono
运行下面代码授权注册repo源并更新软件列表:
·Ubuntu 18.04

sudo apt install apt-transport-https dirmngr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu vs-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
sudo apt update

·Ubuntu 16.04

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https
echo "deb https://download.mono-project.com/repo/ubuntu vs-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
sudo apt update

·Ubuntu 14.04

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt install apt-transport-https
echo "deb https://download.mono-project.com/repo/ubuntu vs-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
sudo apt update

第二步 安装mono
执行下面的代码

sudo apt-get install mono-complete 

第三步 安装monodevelop IDE
执行下面代码

sudo apt-get install monodevelop

(上面三步要全部执行,官方给出的手动安装方法缺少第二步的内容,有时候会出现安装不成功的情况)

 类似资料: