LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-28-2010, 09:26 AM   #1
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21
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.

Thanks,
Bert
 
Old 02-28-2010, 11:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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.
 
1 members found this post helpful.
Old 02-28-2010, 08:46 PM   #3
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
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?
 
Old 03-01-2010, 04:13 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Good idea to make packages. Try package names to distinguish them

may I suggest optmono, & ulmono, leaving room for plain old mono if the versions ever line up?
 
Old 03-02-2010, 08:54 PM   #5
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mono latest version for fedora8 sojan-john Linux - Software 0 02-17-2009 12:21 AM
How to install mono? Red Squirrel Linux - Software 6 01-28-2009 11:21 PM
paint-mono (Paint.net for Mono) Installer? caa1980 Linux - Software 0 10-03-2007 10:52 AM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM
Problem when I install mono ICO Linux - Software 1 08-11-2003 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration