We know that you can use the following command to install MonoDevelop 2.0 in the Ubuntu 9.10 operating system:
$ sudo apt-get install MonoDevelop
However, if we need to install the latest version of MonoDevelop 2.2, we can compile from source code by following these steps:
[Email protected]:~$
CD src
[Email protected]:~/src$
SVN co svn://anonsvn.mono-project.com/source/trunk/monodevelop
[Email protected]:~/src$
CD MonoDevelop
[Email protected]:~/src/monodevelop$
./configure--prefix=/opt/monodevelop-2.2
The build profile ' default ' is does not exist. A new profile would be created.
Select the packages to include with the build for the profile ' default ':
1. [X] Main
2. [] Extras/javabinding
3. [] Extras/boobinding
4. [] Extras/valabinding
5. [] Extras/aspnetedit
6. [] Extras/geckowebbrowser
7. [] Extras/webkitwebbrowser
8. [] Extras/monodevelop.database
9. [] Extras/monodevelop.profiling
Ten. [] Extras/monodevelop.addinauthoring
[] Extras/monodevelop.codeanalysis
[] Extras/monodevelop.debugger.mdb
[] Extras/monodevelop.debugger.gdb
[] Extras/pybinding
[] Extras/monodevelop.iphone
Enter the number of a add-in to Enable/disable,
(q) Quit, (c) Clear all, (s) Select All, or ENTER to continue:
==========> a lot of output lines are omitted here <==========
Configuration Summary
* Installation prefix =/opt/monodevelop-2.2
* C # compiler =/usr/bin/gmcs
* Mono Class Library Development Extensions:yes
* Version Control Support:yes
* Providers:
* Subversion:yes
* C + + Project Support:yes
* Platform Bindings:gnome
* Unit Tests:no
* Mozilla Location:
Now type "make" to compile MonoDevelop
Configuration Summary
---------------------
MonoDevelop have been configured with
prefix =/opt/monodevelop-2.2
Profile = Default
Packages included in the build:
Main
[Email protected]:~/src/monodevelop$
Make
[Email protected]:~/src/monodevelop$
Echo ' CD ~/src/monodevelop; make Run & ' > monodevelop-2.2
[Email protected]:~/src/monodevelop$
chmod +x monodevelop-2.2
[Email protected]:~/src/monodevelop$
sudo mv Monodevelop-2.2/usr/local/bin
That's OK. Use monodevelop-2.2 to run with the effect as shown:
In addition, the monoxide experimental Mono packages PPA website offers the latest version of the MonoDevelop apt installation source.
(Maintained by official Debian/ubuntu Mono team)
This PPA should is used for testing changes to the Mono stack, pre-release package versions, etc.
Let's try it out:
First, use the following command:
$ sudo vi/etc/apt/sources.list
Add the following lines to the software source:
Then use the following command to install MonoDevelop:
[Email protected]:~$ sudo apt-key adv--keyserver keyserver.ubuntu.com--recv-keys 23dc003a
EXECUTING:GPG--ignore-time-conflict--no-options--no-default-keyring--SECRET-KEYRING/ETC/APT/SECRING.GPG-- TRUSTDB-NAME/ETC/APT/TRUSTDB.GPG--keyring/etc/apt/trusted.gpg--keyserver keyserver.ubuntu.com--recv-keys 23dc003a
GPG: Download key ' 23dc003a ' from HKP server keyserver.ubuntu.com
GPG: Key 23dc003a: Public key "Launchpad PPA for Directhex" imported
GPG: No absolute trust key found
GPG: Total Processed Quantity: 1
GPG: Imported: 1 (rsa:1)
[Email protected]:~$ sudo apt-get update
[Email protected]:~$ sudo apt-get install monodevelop
That's OK. Use the MonoDevelop command, or click the "application-like programming-and MonoDevelop" menu item to run, as shown in the version information:
As you can see, this version is still 2.2 Beta 2, and I believe it will be possible to upgrade to 2.2 RC version with the sudo apt-get Upgrade command in the near future. :)
Copyright NOTICE: This article for Bo Master http://www.zuiniusn.com original article, without Bo Master permission not reproduced.
Installing MonoDevelop 2.2 In the Ubuntu 9.10 operating system