LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 05-09-2010, 05:25 AM   #1
gdiza
LQ Newbie
 
Registered: May 2010
Location: Cape Town, South Africa
Distribution: Gentoo
Posts: 21

Rep: Reputation: 16
Question What version?


Ok!

So, being the complete n00b that I am, but knowing how to use Google.
I asked myself, what version of Gentoo am I actually using.

Google took me to a site where I was told to type:

Quote:
cat /proc/version
The output is:

Quote:
Linux version 2.6.31-gentoo-r6 (root@localhost) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) #5 Mon Feb 8 17:44:45 SAST 2010
So... I know I use Gentoo, but what exactly am I using?

Very simple question, but I like to start at the bottom of this mess that I need to learn.
 
Old 05-09-2010, 05:33 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

There should be a file called /etc/gentoo-release which holds the version info.

Hope this helps.
 
Old 05-09-2010, 07:53 AM   #3
gdiza
LQ Newbie
 
Registered: May 2010
Location: Cape Town, South Africa
Distribution: Gentoo
Posts: 21

Original Poster
Rep: Reputation: 16
File says:

Quote:
Gentoo Base System release 1.12.11.1
But... can someone explain what this means then?

Quote:
Linux version 2.6.31-gentoo-r6 (root@localhost) (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) #5 Mon Feb 8 17:44:45 SAST 2010
Thanks!
 
Old 05-09-2010, 08:05 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

This file will not show you the name of the actual OS release, but will instead give you specifics about the version of Linux kernel used in your distribution, and confirm the version of a GCC compiler used to build it. (quoted from What you can learn from /proc/version)

Hope this helps.
 
1 members found this post helpful.
Old 05-09-2010, 08:10 AM   #5
gdiza
LQ Newbie
 
Registered: May 2010
Location: Cape Town, South Africa
Distribution: Gentoo
Posts: 21

Original Poster
Rep: Reputation: 16
Thanks druuna, your post does help alot.
 
Old 05-09-2010, 08:25 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Jy is welkom
 
Old 05-09-2010, 09:49 AM   #7
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
Quote:
There should be a file called /etc/gentoo-release which holds the version info.
And "cat /etc/*ease" is even a little move universal and works on Redhat, Fedora, SuSE an Ubuntu.

On Ubuntu.
Code:
tommy@tommy-laptop:~$ cat /etc/*ease
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

tommy@tommy-laptop:~$ ll /etc/*ease
-rw-r--r-- 1 root root 97 2009-10-19 19:44 /etc/lsb-release
On Fedora, although a bit messy because someone there decided to get cute and put in some superfluous softlinks...
Code:
[root@athlonz ~]# cat /etc/*ease
Fedora release 10 (Cambridge)
Fedora release 10 (Cambridge)
Fedora release 10 (Cambridge)

[root@athlonz ~]# ll /etc/*ease
-rw-r--r-- 1 root root 30 2008-11-06 15:06 /etc/fedora-release
lrwxrwxrwx 1 root root 14 2010-02-14 21:11 /etc/redhat-release -> fedora-release
lrwxrwxrwx 1 root root 14 2010-02-14 21:11 /etc/system-release -> fedora-release
 
Old 05-10-2010, 01:51 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Gentoo has a rolling release model, which means that version numbers means nothing unless you are talking about concrete packages. In other words, once you emerge --sync and emerge -auDvN world you will have the same OS regardless of the installation media you used.

The commands above will give you the versions for the kernel and the baselayout package, but there are no numbered versions of Gentoo itself, other than for the installation media, and nothing from that will remain on the final OS once you install and update it.
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 05:26 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 01:40 AM

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

All times are GMT -5. The time now is 07:22 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
Open Source Consulting | Domain Registration