Mono 1.1.12 - Install older mono to co-exist with current version
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mono 1.1.12 - Install older mono to co-exist with current version
I would like to know if anyone has run more than one version of mono concurrently. I want to host a Battlefield 2 server with bf2ccd that requires mono 1.1.12. CentOS 5.3 repos provide mono 1.2.4 which is neither new enough nor old enough to support bf2ccd. I have considered compiling a newer version or an older version to accommodate this but I think that the only fully supported version is the 1.1.12 and I want to have the newer mono for other projects. I have used Slackware exclusively up to now and am not familiar with CentOS yet so I would like to avoid compiling if I can. The server is an unmanaged dedicated server so I'm not certain of all of the details. AFAIK it is a standard CentOS 5.3 install.
You are straight into compiling to do this, imho. Centos is OK for that - don't worry. What may happen is that you update sometime (Years away) and something falls over with the weirdest fault, but you can worry about that then.
1st try:
Install one PREFIX=/usr/local and another PREFIX=/opt, and remove the Centos rpm which you say is wrong version. Don't specify any of the libdir, sysconfdir, or anything in the compile line, let them default. Let the system look after the one in /usr/local but for the other, export LD_LIBRARY_PATH=/opt/lib64:/opt/lib:$LD_LIBRARY_PATH and likewise put the binary directory in the PATH when you are running that. Might sort it. If not, post the error and we'll try top sort that.
Okay, this looks like it will work. My hangup is that I always package applications into .tgz (Slackware) to install them. If I want to uninstall mono after installing this way, can I do that? Also, how do I distinguish the old mono from the new one when I call it?
Sorry for the delay in answering. I like your idea and I would like to understand more about packaging rpms and how to distinguish between the different binaries. Right now, though, I have just serendipitously run across an article laying out installing mindspring in centos. Since it depends on mono, the tutorial recommends installing mono 1.9.1 from the REHL 5 repos so I tried it and it worked.I think the mono 1.9.1 will be new enough to work with .NET and has proved to work with bf2ccd.
Thank you for trying to help. I don't know that I am advanced enough to make it work using multiple versions,although the idea does intrigue me.
Thanks again,
Bert
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.