Skip to content

Instantly share code, notes, and snippets.

@teror4uks
Forked from andreazevedo/install_mono.sh
Created May 20, 2016 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teror4uks/d955aa51733a9adcc8a8dd25f9879541 to your computer and use it in GitHub Desktop.
Save teror4uks/d955aa51733a9adcc8a8dd25f9879541 to your computer and use it in GitHub Desktop.
Install mono on centOS 6.x
$ 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.2.8.tar.bz2
$ tar jxf mono-3.2.8.tar.bz2
$ cd mono-3.2.8
$ ./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
@teror4uks
Copy link
Author

fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment