LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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:26 PM   #1
StupidNewbie
Member
 
Registered: Dec 2007
Posts: 71

Rep: Reputation: 16
How to find out what your Linux distro is "based on"


Hi guys,

I have been using Linux for quite a while and have gotten pretty good at it, but recently I started using Backtrack in a VM and realized I have no idea what it is based on. Then I got to thinking I have no idea what that even means.

For example, OSX is based on Darwin right, but what does that mean? Ubuntu is another that is based on Debian, but I don't know what that means. The reason I'm asking is because in order to get my screen resolution and networking right in Backtrack I need to know what it is based on so I can download the proper packages to install the VirtualBox guest additions, and I have no idea.

Is there a way to get this information from the operating system? Maybe uname -a is giving me the info and I just don't know where to look in the output? Thanks!
 
Old 11-28-2010, 11:30 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It is more of a philosophical thing really, it isn't something you can find out by running a command.

In the case of Ubuntu, it is essentially Debian with more packages and a customized look. The same is true for BackTrack, it is Ubuntu with security-related packages and the BackTrack visual theme.
 
Old 11-29-2010, 09:27 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
See the picture here.

Another way is the package format.
  1. If the distro can use *.deb packages without any problems, it's likely Debian based.
  2. If it uses *.rpm packages without any problems, it's likely Red Hat based.
  3. If it uses something else, it may be Slackware based, as Slackware relies on the user to resolve dependencies and does not maintain an official repo.

That's a very rough rule of thumb, especially as regards item three.
 
Old 11-30-2010, 05:41 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The easiest way to find out what a specific distribution is based on is to look it up at Distrowatch.
 
Old 11-30-2010, 05:45 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
http://kde-look.org/CONTENT/content-...218-gldt76.png may be slightly more up to date than the link posted by frankbell. Backtrack is based on Knoppix which is, in turn, based on Debian.
 
Old 11-30-2010, 06:08 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by XavierP View Post
http://kde-look.org/CONTENT/content-...218-gldt76.png may be slightly more up to date than the link posted by frankbell. Backtrack is based on Knoppix which is, in turn, based on Debian.
Sorry that I have to correct you here, but the latest Backtrack (Version 4) is in fact based on Ubuntu. http://www.backtrack-linux.org/wiki/...ackTrack_4_.3F
 
Old 11-30-2010, 06:21 AM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by StupidNewbie View Post
... and realized I have no idea what it is based on. Then I got to thinking I have no idea what that even means.

For example, OSX is based on Darwin right, but what does that mean? Ubuntu is another that is based on Debian, but I don't know what that means...
Most distros are 'based on' something in the sense that when the founders of the distro started, they said something like 'wouldn't it be even better if there was a distro like distro_x, except with this change of approach'. The changes in question could be a different default GUI, an emphasis on ease of use over eliminating excess bloat, an emphasis on eliminating excess bloat over ease of use, or anything else that appeals to the founders, essentially.

There is an additional sense in which, eg, the Ubuntus are Debian-based; the guys at Ubuntu actually take some version of Debian and work on it to add their special magic (or, unmagic, if that's the way that you feel) to produce something that comes closer to their objectives.

@frankbell
Quote:
Another way is the package format.
  1. If the distro can use *.deb packages without any problems, it's likely Debian based.
  2. If it uses *.rpm packages without any problems, it's likely Red Hat based.
  3. If it uses something else, it may be Slackware based, as Slackware relies on the user to resolve dependencies and does not maintain an official repo.
In the weaker sense, I think rule 1) is pretty reliable. 2) is not so reliable (see SuSE/Novell, which was slackware-derived, uses rpm (but uses different package management from RH) but is in no way a RedHat derivation, and, effectively, has no slack in recent versions. I don't think that Mandriva has any identifiable RH in it, either.)

Rule 3) has the problem that it collects up a lot of 'minor'/'smaller' distros, and the majority of those (the DSLs, the Puppys, the Slitazs as well as LFS-based and the out-and-out obscure...and Solaris, and the BSDs if you don't add a Linux-only condition somewhere) aren't Slack based.

So, very, very much a rule of thumb, which is often useful a useful indication rather than anything else

Last edited by salasi; 11-30-2010 at 06:22 AM. Reason: minor clarification
 
Old 11-30-2010, 09:12 AM   #8
StupidNewbie
Member
 
Registered: Dec 2007
Posts: 71

Original Poster
Rep: Reputation: 16
THanks for all the awesome info guys. This is exactly what I needed. I am bookmarking this thread to reference in the future and study when I'm bored.

Interesting that Smoothwall is based on Debian too - there was an article on hak5.org about using smoothwall router software installed on an Intel Mini ITX motherboard with the integrated atom software and a 250gb hard drive w/ 2 gigs of RAM to make a ridiculously high powered router. Cool
 
  


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
how to permanent spoof "fake" mac address for eth0 & eth1? in NEW linux distro"s... vastvet Linux - Newbie 22 02-02-2013 12:40 AM
BASH:find out if volume "foo"/folder "goo" can be written to SilversleevesX Programming 2 08-28-2010 10:03 AM
New Newbie looking to create or find Linux based "Ghosting" program sbhoffmaster Linux - Software 5 06-29-2007 05:04 PM
"Installing non-distro Linux on USB key" or "Using syslinux to boot a jffs2" lymae Linux - Newbie 6 12-31-2006 10:00 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

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

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