Centos5 Upgrade Mono

I Use Centos5 as my Linux system operation. Default mono-core installed in centos is mono-core-1.2.4-2.el5.centos. This version is to old and I want to install or upgrade mono. This is a method how to install or upgrade mono in Centos5.

  • Create a new repo config file. vim /etc/yum.repos.d/mono.repo and add the following text :

  • Save this file and update repo list with command : yum clean all
  • install the mono server stack with command : yum install monotools-addon-server
  • set up shell environtment so that it finds mono, mcs and the other mono tools. Use this command : cp /opt/novell/mono/bin/mono-addon-environtment.sh /etc/profile.d
  • edit file /etc/profile.d/mono-addon-environtment.sh and change this line PS1=”[mono-addon] $PS1″ with #PS1=”[mono-addon] $PS1″
  • Log off your computer and after login again, check mono version with this command : mono –version. This is output from my computer :

  • Now, you can install new version of mono addon. Example, I want to install mono-gdi, So I use command : yum install mono-addon-libgdiplus0
Source :
http://stackoverflow.com/questions/3510320/install-mono-on-centos5-5-using-yum

2 thoughts on “Centos5 Upgrade Mono

  1. Wah, nggak paham kalo udah ngomongin linux kayak gini. Maklum, dulu pernah ngincipi linux cuma sebentar, setelah itu kembali ke windows lagi. hehehe…

Leave a Reply to Kathy Cancel reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.