How to find out what your Linux distro is "based on"
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
... 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.
If the distro can use *.deb packages without any problems, it's likely Debian based.
If it uses *.rpm packages without any problems, it's likely Red Hat based.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.