LinuxMCE Forums

General => Users => Topic started by: Itsik on January 01, 2014, 12:35:31 am

Title: installing mono
Post by: Itsik on January 01, 2014, 12:35:31 am
Hello

I need to install mono in order to run a windows EPG grabber program, because I have no other option. But I can't find a way to do it.
I added the correct repo (badgerports) tried to run "sudo apt-get install mono" and "mono-complete" but no go. I also failed doing this thru synaptic.
Any idea ?

Thnx
Itsik
Title: Re: installing mono
Post by: Marie.O on January 01, 2014, 12:40:22 am
no. my crystal ball is still in the shop.
Title: Re: installing mono
Post by: iberium on January 01, 2014, 02:34:37 pm
Was the program compiled using mono?  If it wasn't then there is a good chance that it isn't going to work.  Mono uses their own libraries and not the Microsoft .NET ones,  thats how they make it cross platform.
Title: Re: installing mono
Post by: Itsik on January 01, 2014, 11:31:01 pm
To answer my own question, and a huge thank you to TSCHAK and L3top for solving this for me, you can do this either by compiling mono from source:
Code: [Select]
apt-get install gcc g++ bison gettext make
cd /usr/local/src
wget http://download.mono-project.com/sources/mono/mono-2.10.8.tar.gz
tar zxvf mono-2.10.8.tar.gz
cd mono-2.10.8
./configure --prefix=/usr/local
make && make install

or running:
Code: [Select]
apt-get install --dry-run mono-2.0-devel
Hope somebody will find this useful ...

Itsik