LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-16-2003, 10:05 PM   #1
mehtabhi
LQ Newbie
 
Registered: Jan 2003
Location: India
Posts: 6

Rep: Reputation: 0
SuSE to Redhat


sir
I've a file on the SuSE linux system. I want to run that file on the redhat linux. What are the corresponding changes that I have to make to that file. please be specific in answering i.e. for a shell script, or for a c file, java file and so on
thanks
mehtabhi
 
Old 01-16-2003, 10:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Well what kind of file are we talking about ? There shouldn't be much of a difference and you shouldn't have any problems running something that is on Suse to Redhat.

If its a shell script or such, you might just have to change some path's if that's the case, etc.

If its a program designed for Linux, there shouldn't be much of a difference in getting it to work either.

Give us more details and we can answer your question better, were in the dark here without details.
 
Old 01-17-2003, 12:34 AM   #3
mehtabhi
LQ Newbie
 
Registered: Jan 2003
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
sir
thanks for the prompt reply.
the types can be a c prog, a shell file, a java prog etc. Actually I need a detailed answer. when you say changing path etc.. what exactly does it mean. Please send a detailed answer for all the files you know about. i actually have no clue about it.
thanks ... mehtabhi
 
Old 01-17-2003, 01:15 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I'm not understanding really what you mean by all files. Any file basically that is on your Suse OS will work on Redhat, there might just be a few minor differences in where programs are stored or commands are located at. That is what I mean by PATH. Its the PATH to a particular program or command. on your system, it might vary from distro to distro.

But to answer your question again if I'm understanding you, your files on Suse should work on Redhat.
 
Old 01-17-2003, 01:19 AM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
From the general approach of the question it sounds like you want to learn about programming in general for a linux platform.

This is an in-depth subject that goes beyond the scope of a Q & A forum. Your first step would be to look at resources more suited to general programming. There are lots of books and websites available, but the first place I would look is www.tldp.org and read the linux Programmers Guide.
 
Old 01-17-2003, 03:34 AM   #6
mehtabhi
LQ Newbie
 
Registered: Jan 2003
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
thanks trickykid
that was exactly what i wanted to know but i am really interested in knowing is that what is the diffrence in the path names in both the OS. can you please list these diffrences . Also give me the similar links.
thanks....mehtabhi
 
Old 01-17-2003, 08:23 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by mehtabhi
thanks trickykid
that was exactly what i wanted to know but i am really interested in knowing is that what is the diffrence in the path names in both the OS. can you please list these diffrences . Also give me the similar links.
thanks....mehtabhi
Say on Suse your ifconfig command is located in /sbin and on Redhat its located in /usr/sbin, that is what I mean by PATH. Its the path where programs and commands are stored to run them properly from.

Don't worry about it too much, most distro's are likely to have everything in the same place as one another.
 
Old 01-19-2003, 10:03 PM   #8
mehtabhi
LQ Newbie
 
Registered: Jan 2003
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for the reply
pls tell me all the differences between the files locations or give me the related links (or books names).
thanks....mehtabhi
 
Old 01-21-2003, 01:14 AM   #9
mehtabhi
LQ Newbie
 
Registered: Jan 2003
Location: India
Posts: 6

Original Poster
Rep: Reputation: 0
sir,
This time I am posting the most refined question.
I would like to know that
a) What could be the possible reasons of posrting applications from SuSE to Redhat.
b) How this porting takes place on various files like
1)databases: oracle, DB2, Sybase
2)Application servers: Websphere, weblogic, tomcat
3)Custom C/C++ Applications
4)Web servers: Apache, Red Hat stronghold, Iplanet
5)Infrastructure: DNS, File/print, FTP, E-Mail
6)Messaging: Tibco, MQSeries
thanks
mehtabhi
 
  


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
Multi linux redhat + SuSE ,no reisfer FS in redhat linux? sgzlit Red Hat 5 03-07-2005 07:40 PM
Multi linux redhat + SuSE ,no reisfer FS in redhat linux? sgzlit SUSE / openSUSE 9 03-03-2005 07:34 PM
SuSE vs. RedHat XtremeWarrior Linux - Distributions 31 04-04-2004 09:40 PM
RedHat 9.0 or SuSE 8.2? Serum556 Linux - Software 12 05-20-2003 05:29 AM
SuSE 7.3 vs RedHat 7.2 epic Linux - Distributions 4 10-25-2001 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:15 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