PDA

View Full Version : [ubuntu] Installing mono-2.2 on Ubuntu 8.10



Aga^^
March 7th, 2009, 11:51 PM
hi everybody,
i want to build c# (console and windows app.) and asp.net applications on ubuntu 8.10. I have mono-2.2, libgdiplus-2.2, gtk-sharp-2.12.6 and webkit-sharp-0.2 files.I did something like installing mono, libgdiplus and gtk-sharp but i couldnt find how can i run the mono and building (incorrect installation may be) applications. I especially want GUI applications. Can anyone explain me how can i install and run the mono?

directhex
March 8th, 2009, 01:56 AM
Don't.

You'll break things if you try to use a non-package Mono as your main Mono.

8.10 comes with Mono 1.9.1

Aga^^
March 8th, 2009, 02:23 PM
ok thanks for your help, i installed mono from writing

apt:mono-2.0-devel

to the browser. But i couldnt find how to run the mono?

directhex
March 8th, 2009, 04:29 PM
ok thanks for your help, i installed mono from writing

apt:mono-2.0-devel

to the browser. But i couldnt find how to run the mono?

"how to run the mono"?

What exactly are you trying to do?

Use "mono assemblyname.exe" to run an assembly with Mono. Run F-Spot or Tomboy to see example Mono apps

Aga^^
March 8th, 2009, 05:32 PM
i could not find any shortcut for mono on the desktop and applications bar.Where is the F-Spot or tomboy? can you explain please?( i do not use linux for 3 years and i just turn back linux 2 days ago)

directhex
March 8th, 2009, 05:50 PM
i could not find any shortcut for mono on the desktop and applications bar.Where is the F-Spot or tomboy? can you explain please?( i do not use linux for 3 years and i just turn back linux 2 days ago)

Mono isn't an app, it's a framework. What would a desktop icon give you? It's like asking for a desktop icon for "Microsoft .NET Framework". Mono is used to run apps, or to provide compilers - it doesn't do anything of use in isolation.

F-Spot is part of a standard Ubuntu desktop install, in the Graphics section. It's a Mono-based app. Tomboy is under Accessories, same deal - default install.

Aga^^
March 8th, 2009, 08:18 PM
hmmm i was thinking wrong.Now i need a compiler like Microsoft Visual Studio, does Linux have a compiler like this?

directhex
March 8th, 2009, 08:19 PM
hmmm i was thinking wrong.Now i need a compiler like Microsoft Visual Studio, does Linux have a compiler like this?

Yes. mono-2.0-devel package, use "gmcs" to compile things.

Or install monodevelop if you want a GUI IDE

cb951303
March 8th, 2009, 08:48 PM
I installed mono 2.2 from PPA few weeks ago. nothing is broken. tomboy, f-spot, banshee and gnome-do works as they should.

Aga^^
March 8th, 2009, 09:35 PM
i downloaded monodevelop-1.0 and tried to install it but i couldnt
there was a warning
No package 'gtksourceview-sharp-2.0' found
then i downloaded libgtksourceview2.0-cil_0.12-3_all but i didnt understand what can i do with that?

Aga^^
March 8th, 2009, 09:39 PM
cb951303 i installed mono-2.2 and Tomboy,F-spot are not working how can i fix it?

directhex
March 8th, 2009, 09:53 PM
i downloaded monodevelop-1.0 and tried to install it but i couldnt
there was a warning
No package 'gtksourceview-sharp-2.0' found
then i downloaded libgtksourceview2.0-cil_0.12-3_all but i didnt understand what can i do with that?

Why not use the package manager, exactly? Tick the box in SYnaptic ot Add/Remove Programs, don't try to force .deb files

directhex
March 8th, 2009, 09:54 PM
I installed mono 2.2 from PPA few weeks ago. nothing is broken. tomboy, f-spot, banshee and gnome-do works as they should.

Package building will be broken for you, as are a few apps which don't work with 2.2

The pkg-mono team is skipping 2.2, it was a bad release

cb951303
March 8th, 2009, 10:49 PM
Package building will be broken for you, as are a few apps which don't work with 2.2

The pkg-mono team is skipping 2.2, it was a bad release

just realised I got 2.0 :) sorry for the confusion

Aga^^
March 8th, 2009, 11:48 PM
when i clicked the libgtksourceview2.0-cil_0.12-3_all there was an error "Dependency is satisfiable: libglib2.0-cil".
i think it depends installing mono-2.2
how can i remove the mono-2.2 from my system?

directhex
March 9th, 2009, 12:16 AM
when i clicked the libgtksourceview2.0-cil_0.12-3_all there was an error "Dependency is satisfiable: libglib2.0-cil".
i think it depends installing mono-2.2
how can i remove the mono-2.2 from my system?

You tell me. I'm pretty sure I warned you not to do it, saying "You'll break things if you try to use a non-package Mono as your main Mono."

Neo_The_User
March 9th, 2009, 12:17 AM
Use winetricks to install Mono + GTK on Ubuntu.

http://wiki.winehq.org/winetricks

cb951303
March 9th, 2009, 06:59 AM
when i clicked the libgtksourceview2.0-cil_0.12-3_all there was an error "Dependency is satisfiable: libglib2.0-cil".
i think it depends installing mono-2.2
how can i remove the mono-2.2 from my system?

ah I feel responsible for this

remove every mono related package with the option "--purge" to get rid of config files if there are any.
remove the repo entry for mono 2.2 (if you added them), update and reinstall mono
that should do it :popcorn:

Aga^^
March 9th, 2009, 09:30 PM
cb951303 how can i use the "--purge" command?

Neo_The_User
March 9th, 2009, 09:33 PM
Did I not say winetricks?

Aga^^
March 9th, 2009, 09:36 PM
cb951303 how can i use the "--purge" command?

Neo_The_User
March 9th, 2009, 09:40 PM
Wow. It's as if I don't exist.

directhex
March 9th, 2009, 11:19 PM
Did I not say winetricks?

How does Wine help, exactly?

Aga^^
March 9th, 2009, 11:40 PM
if i use winetricks, it can delete the mono-2.2 and then i can install mono-1.9.1 so everything will be allright?

Aga^^
March 9th, 2009, 11:56 PM
i downloaded winetricks, but it does not include mono-1.9.1 and also i could not run it by typing "sh winetricks"?
i must delete mono-2.2 from my system.Do you have any other idea?