Author Topic: Linux branch and distributions  (Read 1048 times)

0 Members and 1 Guest are viewing this topic.

Offline BlogRahulTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: in
Linux branch and distributions
« on: August 09, 2022, 09:08:07 am »
Is there any difference between branch and  distribution in the context of Linux ?

This page  https://en.wikipedia.org/wiki/List_of_Linux_distributions gives me list of distributions.

I don't know how branch is different from distribution ?
 

Online retiredfeline

  • Frequent Contributor
  • **
  • Posts: 544
  • Country: au
Re: Linux branch and distributions
« Reply #1 on: August 09, 2022, 09:19:15 am »
A Linux distribution is a Linux kernel, plus software surrounding it, to make it a usable system for its purpose. A distribution is what people install.

Branch is a general term for a particular series of a piece of software, not just the Linux kernel. Developers care about branches, most users don't.
 

Online Whales

  • Super Contributor
  • ***
  • Posts: 1912
  • Country: au
    • Halestrom
Re: Linux branch and distributions
« Reply #2 on: August 09, 2022, 11:46:57 am »
A "branch" is something that has been "branched off".  All Linux distros are derivatives of something else in some way, so all can be considered to be "branches" in some way.

Other times the word "branch" is used specifically to refer to branches in version control repositories (like git, svn, etc).

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4053
  • Country: nz
Re: Linux branch and distributions
« Reply #3 on: August 09, 2022, 01:19:42 pm »
A branch is a series of changes ("commits") to some software project. All, or almost all, changes eventually make their way on to the "main" (or "master" before the PC Police pounced in about 2020) branch. Often someone making a new feature or fixing a bug will do their work on a branch only they are adding things to, ignoring for a time what is happening on the main branch. Once the work is complete and checked they will merge it to the main branch -- or perhaps first to a testing / QA branch.

From time to time enough new features will have been added or bugs fixed to make a release. The current tip of the main branch is tagged wth the release name, and a new maintenance branch started. General development will continue on the main branch, and only important bug fixes will be made on the release branch.

This happens for every different project. The Linux kernel is one such project. Binutils is another. Gcc is another. glibc (and alternatives such as musl or newlib) are others.

From time to time, various organisations take some set of versions of various projects, test them together, and make a "distribution".

The simplest distribution is pretty much just the kernel and a statically linked busybox. Obviously some such as Fedora or Ubuntu are a lot more comprehensive.
 

Offline gnif

  • Administrator
  • *****
  • Posts: 1682
  • Country: au
Re: Linux branch and distributions
« Reply #4 on: August 11, 2022, 10:54:18 am »
Is there any difference between branch and  distribution in the context of Linux ?

This page  https://en.wikipedia.org/wiki/List_of_Linux_distributions gives me list of distributions.

I don't know how branch is different from distribution ?

Not a Microcontroller question, again, general computing/programming, please use https://www.eevblog.com/forum/general-computing/
Locking Thread
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf