Author Topic: installing mono  (Read 3952 times)

Itsik

  • Guru
  • ****
  • Posts: 190
    • View Profile
installing mono
« 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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: installing mono
« Reply #1 on: January 01, 2014, 12:40:22 am »
no. my crystal ball is still in the shop.

iberium

  • Veteran
  • ***
  • Posts: 84
    • View Profile
    • Innovative Sight & Sound
Re: installing mono
« Reply #2 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.

Itsik

  • Guru
  • ****
  • Posts: 190
    • View Profile
Re: installing mono
« Reply #3 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