LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-28-2010, 11:03 PM   #1
jezeer
LQ Newbie
 
Registered: Nov 2010
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
Smile Finding Linux OS Version


When I use cat # /etc/version I get the following line:
Linux version 2.6.18-194.el5xen (mockbuild@ca-build10.us.oracle.com)(gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) )

But when I run # cat /etc/redhat-release I get
Red Hat Enterprise Linux Server Release 5.5 (Tikanga)

and when I run # cat /etc/issue I Get
Red Hat Enterprise Linux Server Release 5.5 (Carthage)

My problem is: what is the red hat version I am using ? bcoz, I want to install Oracle DB 12.2, so what installation guide should I refer, Linux 4 or Linux 5 ? Please help me ? Thanks.

Last edited by jezeer; 11-28-2010 at 11:06 PM.
 
Old 11-28-2010, 11:24 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,820

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
5.5. That's the only part of any of that you need to care about 95% of the time.
 
1 members found this post helpful.
Old 11-28-2010, 11:27 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,347

Rep: Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365
That's definitely RHEL 5. Tikanga is the RHEL codename. I believe Carthage is the Oracle codename for their version (ie rebuild) of RHEL5.
Is this a pure RHEL build or have you added to or partially installed from Oracle aka OEL?
 
1 members found this post helpful.
Old 11-28-2010, 11:31 PM   #4
jezeer
LQ Newbie
 
Registered: Nov 2010
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
That's definitely RHEL 5. Tikanga is the RHEL codename. I believe Carthage is the Oracle codename for their version (ie rebuild) of RHEL5.
Is this a pure RHEL build or have you added to or partially installed from Oracle aka OEL?
This is a pure RHEL.
 
Old 11-28-2010, 11:32 PM   #5
jezeer
LQ Newbie
 
Registered: Nov 2010
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thanks a lot !
 
Old 11-29-2010, 01:02 AM   #6
jezeer
LQ Newbie
 
Registered: Nov 2010
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
One more confusion.

if Red Hat Enterprise Linux Server Release 5.5 (Tikanga) is showing the version of Linux OS, then

what is gcc version 4.1.2 20080704 ?

What is Red Hat 4.1.2-48 ?
 
Old 11-29-2010, 07:42 AM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,820

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
The GCC version the kernel was built with.
 
1 members found this post helpful.
Old 11-29-2010, 10:32 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,347

Rep: Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365Reputation: 2365
To expand on the above

gcc version 4.1.2 20080704

is the gcc version, inc date of release.

Red Hat 4.1.2-48

is the RH (patched) version of the above kernel
 
1 members found this post helpful.
Old 11-29-2010, 10:39 PM   #9
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
uname -a and cat /etc/issue are all you'll need to read to identify your distro's version.
 
Old 11-29-2010, 11:16 PM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by fbsduser View Post
uname -a and cat /etc/issue are all you'll need to read to identify your distro's version.
That is true for several distros but not for all. For a mature and generic technique, see rkhunter's rkh_dat_get_os_info function.
 
  


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
finding version of linux manoj.linux Linux - Enterprise 4 07-07-2009 02:02 AM
finding out the java version TuxLives Mandriva 14 05-16-2006 09:55 PM
Finding Linux version r_213 Red Hat 5 01-08-2005 02:36 AM
finding linux kernel in mandrake version poojavarshneya Mandriva 7 09-18-2004 11:08 AM
need help finding the right ltmodem version spiroth10 Linux - Software 1 04-13-2004 12:29 AM


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