Skip to content

Instantly share code, notes, and snippets.

@krunalm
Created March 26, 2014 10:22
Show Gist options
  • Save krunalm/9780352 to your computer and use it in GitHub Desktop.
Save krunalm/9780352 to your computer and use it in GitHub Desktop.
Installing lastest mono on Centos 6
$yum install bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget
$cd /usr/local/src
$wget http://download.mono-project.com/sources/mono/mono-3.0.1.tar.bz2
$tar jxf mono-3.0.1.tar.bz2
$cd mono-3.0.1
$./configure --prefix=/opt/mono
$make && make install
---------
Then I downloaded the MonoDevelop IDE and compiled my program using Mono framework.
Then in Centos I called my program:
/opt/mono/bin/mono /root/MyFolder/MyProgramDir/myProgram.exe "$@"
(http://stackoverflow.com/questions/11782096/installing-lastest-mono-on-centos-6)
-------
Source:: (http://jmainguy.com/index.php/installing-mono-3-0-1-on-centos-linux-6-3/)
Installing Mono 3.0.1 on Centos Linux 6.3
So you want to run windows .exe’s on your shiny Linux server, time to catch mono.
To install mono first install your dependencies.
yum install bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget
$
cd /usr/local/src
$
wget http://download.mono-project.com/sources/mono/mono-3.0.1.tar.bz2
$
tar jxf mono-3.0.1.tar.bz2
$
cd mono-3.0.1
$
./configure --prefix=/opt/mono
$
make && make install
Congrats, you now have Mono installed and can run some Windows .exe’s such as Terraria or Minecraft Classic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment