從mono的官網上查,debian的步驟寫得太亂了。其實總結起來,就是這麼幾步:apache
1 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF 2 3 echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list 4 echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list 5 echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list 6 7 apt-get update 8 9 apt-get install mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono
就安裝好了。ubuntu
檢查也很簡單:微信
1 mono -V
返回結果以下:spa
Mono JIT compiler version 4.2.2 (Stable 4.2.2.30/996df3c Mon Feb 15 17:30:30 UTC 2016) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen
微信公衆號:老王Plusdebug 掃描二維碼,關注我的公衆號,能夠第一時間獲得最新的我的文章和內容推送code 本文版權歸做者全部,轉載請保留此聲明和原文連接server |