Skip to content

Instantly share code, notes, and snippets.

@gabfr
Forked from andreazevedo/install_mono.sh
Last active August 29, 2015 14:14
Show Gist options
  • Save gabfr/5c20b272c7b6a0430a3c to your computer and use it in GitHub Desktop.
Save gabfr/5c20b272c7b6a0430a3c to your computer and use it in GitHub Desktop.
$ 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.12.0.tar.bz2
$ tar jxf mono-3.12.0.tar.bz2
$ cd mono-3.12.0
$ ./configure --prefix=/opt/mono
$ make && make install
$ export PATH=$PATH:/opt/mono/bin
$ export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig
$ # make sure to add the previous two lines to your ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment