LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2010, 11:04 AM   #1
novelc51
LQ Newbie
 
Registered: Jul 2007
Distribution: suse 10
Posts: 9

Rep: Reputation: 0
How to use Centos 4 in place of RHEL 4


Hello All,
I have a software program that when you try to install it on Centos it returns
"This programs requires RHEL 4"
Is there a work around to get the software to use the Centos software the same as it would RHEL 4?
 
Old 06-12-2010, 11:13 AM   #2
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
Is the program an executable, or a script? If it is an executable, you may want to use strace to see what the program is accessing to determine which version of linux it is running on. My guess would be to look for the program trying to access /etc/redhat-release or uname, then you could mimic this behaviour on centos.

If it is a script, the search becomes much easier.
 
Old 06-12-2010, 03:14 PM   #3
novelc51
LQ Newbie
 
Registered: Jul 2007
Distribution: suse 10
Posts: 9

Original Poster
Rep: Reputation: 0
How to use Centos 4 in place of RHEL 4

Thank you very much
I took a look at the man page for strace and kind of figured it out and tried it out.
It gave me a lot of info that I will try later and I will post what happens.

Again Thanks!!!
 
Old 06-18-2010, 08:07 PM   #4
novelc51
LQ Newbie
 
Registered: Jul 2007
Distribution: suse 10
Posts: 9

Original Poster
Rep: Reputation: 0
How to use Centos 4 in place of RHEL 4

Well this is about day 10 and no success.
Your question
"Is the program an executable, or a script? If it is an executable, you may want to use strace to see what the program is accessing to determine which version of linux it is running on. My guess would be to look for the program trying to access /etc/redhat-release or uname, then you could mimic this behaviour on centos."
Well I was able to determine that is is a script of "installation software" type (READ ONLY) about 100 pages.
I was able to use cat and pipe the contents to a file and look at it in word.
I then tried to modify it and change the reference to RHEL to Centos then created a copy of the original cd with the changes to the script but it still failed.
Is there any thing else that I can do?
Any help will be greatly appreciated
Thanks
 
Old 06-18-2010, 09:22 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,229

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
the name of this antique program and where you got it
then we might be able to help

that error looks like the output of an install script
it might be in ascii text or binary ( like the nvidia.run install program)
Quote:
pipe the contents to a file and look at it in word.
? you used Microsoft word ? to edit it ?
Quote:
then created a copy of the original cd
so this is on a "install cd " of some sort ?
 
Old 06-18-2010, 10:28 PM   #6
novelc51
LQ Newbie
 
Registered: Jul 2007
Distribution: suse 10
Posts: 9

Original Poster
Rep: Reputation: 0
How to use Centos 4 in place of RHEL 4

Thanks for the quick response
Unfortunately it is proprietary so it will remain nameless
Did not edit it in word but was able to view it
I edited with vi on suse linux - used isomaster to make the .iso
Then used a cd burner and made the cd
Here is part of the script that was changed

Quote:
# ELSE is a Linux OS
RPM=""
if [ "$DISTRO" = "CENTOS" ]; then
RPM="redhat-release"
elif [ "$DISTRO" = "SUSE" ]; then
RPM="sles-release"
else
RPM="dont-know"
fi
My intent is to install the software so that it can be evaluated without making a purchase of RHEL 3 or 4
Again thanks for any and all of your help
 
Old 06-19-2010, 07:58 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,229

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
Quote:
My intent is to install the software so that it can be evaluated without making a purchase of RHEL 3 or 4
seeing as i think rhel 3 is past it's end of life ( might still be on payed extended life support) , and rhel4 will soon hit End Of Life .

I would find some other program .Red hat will have RHEL 6 out this winter
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CentOS = RHEL + more? grob115 Linux - Distributions 5 05-10-2010 08:10 AM
Fedora Electronic Lab in place of, or in addition to RHEL? RPeruzzi Linux - Newbie 5 03-19-2010 07:58 AM
Using CentOS over RHEL: Some questions Swakoo Linux - Enterprise 8 03-20-2007 09:30 PM
Is CentOS RHEL or RHEL Server? mikes63737 Linux - Distributions 1 02-28-2006 05:35 PM
rhel put kerberos headers in wrong place Ratclaws Linux - Enterprise 0 12-09-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration