sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
。接着添加存储库并更新包列表:sudo apt-add-repository 'deb http://download.mono-project.com/repo/ubuntu stable-focal main' && sudo apt-get update
。安装Mono:sudo apt-get install mono-complete
。