LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2009, 04:53 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
how to know which version of slackware I have?


I thought I had 12.2, but when I did X -version it said Slackware 12.1-so that's just the version when xorg was added or what?
 
Old 03-18-2009, 05:02 PM   #2
jrecortel
Member
 
Registered: Sep 2008
Location: Philippines
Distribution: slackware, FreeBSD
Posts: 123

Rep: Reputation: 19
Code:
cat /etc/slackware-version
 
Old 03-18-2009, 05:06 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
For slackware you can do:

Code:
cat /etc/slackware-version
(as jrecortel says ahead of me)

Technically X -version should also work, did you do a clean install or did you upgrade from 12.1 ?
 
Old 03-18-2009, 05:18 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Results=
Code:
bash-3.1# cat /etc/slackware-version
Slackware 12.2.0
bash-3.1#
Is that current slackware?
If not-how do I upgrade?
 
Old 03-18-2009, 05:25 PM   #5
eerok
Member
 
Registered: Nov 2005
Location: Canada
Distribution: Mint, Debian
Posts: 168

Rep: Reputation: 32
The latest stable version is 12.2; slackware-current is a testing version and not guaranteed to be stable.
 
Old 03-18-2009, 05:38 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,721

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
Quote:
Originally Posted by H_TeXMeX_H View Post
Technically X -version should also work, did you do a clean install or did you upgrade from 12.1 ?
Even the X server binary of slackware-current reports "Slackware 12.1"... an omission that would have to be corrected in the next build of xorg-server.

Eric
 
Old 03-18-2009, 05:52 PM   #7
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
Quote:
Originally Posted by linus72 View Post
Results=
Code:
bash-3.1# cat /etc/slackware-version
Slackware 12.2.0
bash-3.1#
Is that current slackware?
If not-how do I upgrade?
I believe Slackware Current will still give:
Code:
bash-3.1# cat /etc/slackware-version
Slackware 12.2.0
bash-3.1#
This test will not distinguish between the latest 'Stable' version and 'Current' version.

Bill.
 
Old 03-18-2009, 06:38 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,721

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
Quote:
Originally Posted by Toods View Post
I believe Slackware Current will still give:
Code:
bash-3.1# cat /etc/slackware-version
Slackware 12.2.0
bash-3.1#
This test will not distinguish between the latest 'Stable' version and 'Current' version.

Bill.
Exactly! The file /etc/slackware-version will be updated shortly before the official release of the next stable version of Slackware. It will report "12.2" for some time to come.

Eric
 
Old 03-18-2009, 07:23 PM   #9
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Quote:
Originally Posted by Alien Bob View Post
Exactly! The file /etc/slackware-version will be updated shortly before the official release of the next stable version of Slackware. It will report "12.2" for some time to come.

Eric
Maybe this could be a nice suggestion to Pat?

I run & maintain several Slackware boxes, mostly 12.2, some 12.1 and 12.0 and two (non-critical) testing machines with -current.
For some script it would be nice to know the version it is running on. For now I use "uname -r" but of course this is not fool-proof.

On the other hand, only the release number of Slackware is no guarantee either... You can have 12.1 with several kernel versions etc...

Ah well, just an idea. It would be nice to identify a machine that's running -current like 12.2.1
 
Old 03-18-2009, 07:23 PM   #10
nerix
LQ Newbie
 
Registered: Mar 2009
Location: Girne, TRNC
Distribution: Slackware-current
Posts: 10

Rep: Reputation: 1
On Slackware-current

Quote:

Millions long for immortality who do not know what
to do with themselves on a rainy Sunday afternoon.
-- Susan Ertz

yss@slackbox:~$ cat /etc/slackware-version
Slackware 12.2.0
yss@slackbox:~$
 
Old 03-19-2009, 04:03 AM   #11
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
an omission that would have to be corrected in the next build of xorg-server.

Eric
Any idea when is that gonna happen? I am not in a hurry.
I am just curious if its gonna offer the notorious input-hotplugging being hal enabled, use evdev for nearly everything, plus have the Ctrl+Alt+Backspace key combo disabled and other cosmogonic changes.
 
  


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
slackware version fatboy21 Slackware 5 08-28-2005 03:47 AM
Slackware version... darkarcon2015 Slackware 6 02-11-2005 06:19 PM
slackware startx starts the wrong version, i didn't even know i had another version edman007 Linux - Software 3 05-16-2004 08:38 PM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 01:47 PM

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

All times are GMT -5. The time now is 04:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration