-To add the Mono Project GPG signing key and the package repository (http://www.mono-project.com/docs/getting-started/install/linux/):
-
-sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
-echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
-sudo apt-get update
-
-To install Mono:
-
-sudo apt-get install mono-devel
-sudo apt-get install mono-complete
-sudo apt-get install referenceassemblies-pcl
-sudo apt-get install ca-certificates-mono
-
-To install SWIG:
-
-a) Download Swig-3.0.10 from http://www.swig.org/download.html
-b) Untar the files and refer "INSTALL" file to install Swig as mentioned below:
- 1) ./configure --with-csharp-compiler=/usr/bin/mcs
- (/usr/bin/mcs is the mono compiler path from step 1)
- 2) make
- 3) sudo make install
-
To build C# binding for Ubuntu desktop using SWIG for the first time:
./autogen.sh