25

What are the main advantages of using Debian instead of Ubuntu?

closed as primarily opinion-based by Kusalananda, Jesse_b, GAD3R, roaima, Jeff Schaller May 10 '18 at 10:56

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What about speed? In my own tests, I've noticed Debian (same kernel as Ubuntu, same WM, etc.) always runs faster on the same hardware. Quite noticeably so. And that's without compiz or other WM-based effects on either machine. – ixtmixilix Nov 25 '11 at 20:04
37

Debian has some features that you could consider "advantages" depending on your needs and use cases.

  • Stability. The Debian Stable branch has been tested extensively, generally for at least a year, as the Testing branch. The only updates Stable get are mission critical bug fixes and security fixes. This makes it an extremely stable platform (i.e., well-tested and little change).
  • A tier-ed branch system for releases allowing you to pick the level of stability/up-to-dateness you need. Stable, Testing, and Unstable (plus backports, where select packages and libraries are ported from Testing to Stable). This provides a great deal of flexibility in how you decide to upgrade or stay with a certain version of a package or an entire release.
  • The Debian Social Contract. A commitment to free software and the free software community. For the community, by the community.
  • Debian is your way. You get a tremendous amount of choice and configuration options. There is no one "typical" Debian install. Debian is on your terms.
  • Maturity - The Debian project has been around for a long time and is a stable part of the free and open source software ecosystem.
  • Debian has been ported to many different hardware architectures. The current Stable release has 11 different ports. Ubuntu on the other hand is focused on the x86, and amd64 platforms.
  • A LOT of packages. As in 29,000 worth. There's an old saying, if the project exists there's a .deb for it.
  • Good point about the architecture. If you include PPAs, Ubuntu wins for packages (otherwise, Debian's lead is pretty small, as most of testing ends up in universe). Ubuntu is committed to free software, even if they're \ifpolite more pragmatic\else less fanatic\fi\ about it. – Gilles May 2 '11 at 21:55
  • 7
    I never meant to imply that Ubuntu isn't committed to Free Software, so I apologize if I came off that way. Debian has the Social Contract which is definitely a differentiating feature. – user7136 May 2 '11 at 22:01
  • 'There is no one "typical" Debian install.' ← I would call this a disadvantage if you're managing a data center. – Justin Force Jul 17 '13 at 23:04
  • 1
    @Gilles no ubuntu's PPA's do NOT get security updates. With Debian you get security updates for 30,000 packages, with Ubuntu, it's more like 1200. – figtrap Mar 29 '18 at 18:22
18

You'd have to further distinguish between Debian stable and testing/unstable, and between following all Ubuntu releases or only LTS releases.

  • Debian stable and Ubuntu LTS release only every couple of years. Pro: you're not upgrading all the time. Con: the software and especially the drivers may get updated.
  • Ubuntu has a few more things that work out of the box for inexperienced users, and a more polished recommended user interface. Debian is a little less beginner-friendly (fewer front-ends that hide the messy details) and a little more geek-friendly (fewer front-ends that hide the messy details).
  • The core software (Ubuntu main) is more integrated. Once you go to universe, Debian is a little better because it's either more polished (stable) or more up-to-date (testing).

All in all, the difference isn't huge. I prefer to go with Debian stable on my machines, but recommend Ubuntu to others, and tend to use Ubuntu on newer hardware (especially laptops).

8

Advantages: More thorough testing, and structured release cycles. End-result, a more stable system.

Disadvantage: The stable archives are usually behind the latest version of software releases (including -dev libraries). This means you may need to manually install dependencies in order fill pre-reqs for that one-cool-program you really need the latest version of. Sometimes, you can work around this with debian-backports.

  • It seems there aren't many advantages. My Ubuntu is stable. Is the RAM usage better in Debian? – xralf May 2 '11 at 18:15
  • 5
    With a server that potentially provides a critical service to many users, or where downtime can mean massive financial loss, the very conservative approach to upgrades that Debian adopts is a Good Thing (tm). – LawrenceC May 2 '11 at 19:29
  • 1
    @xralf, for the same version of software, I cannot say I have actually compared memory usage in debian and ubuntu; however, I cannot imagine why it would be significantly different just because of a different distribution. Perhaps if one had a kernel or shared-libs that used memory differently, but that isn't the fault of the distro per-se. – Mike Pennington May 2 '11 at 20:19
  • 2
    /opt is for third party precompiled stuff. Stuff you compile yourself should go in /usr/local/bin. Elaborate what you mean by packaging issues. I've run Debian since 2005 and never had issues except when exim4 changed its config file format, but that was my fault for not reading the Debian.README, which we all do, right? – LawrenceC May 2 '11 at 20:25
  • 2
    @xralf: RAM usage has nothing to do with the distribution and everything to do with which applications you run. – Gilles May 2 '11 at 21:02
5

I like because (along with the advantages mentioned above) that, I can customize it better from the start.

Ubuntu installs a lot of application, even when you never will use those softwares.

But in Debian you can select from multiple software-collections, like "Web server", "FTP Server" or a full desktop. It's getting better if you use the netinstall image, this selection save a lot of bandwidth. And It's also better for old PCs with smaller performance.

And because It's just works!

5

I'm not sure why nobody ever mentions Debian Policy, which is the rocket fuel that makes Debian go. If you haven't read it, go and look at it. As far as I know, it is unique. No other operating system, free or proprietary, has anything like it. Among other things, Policy determines how Debian packages are made, how they fit together, and also help to determine bug classification. To quote Ch 1.1 of the Debian Policy Manual: Scope:

In the normative part of this manual, the words must, should and may, and the adjectives required, recommended and optional, are used to distinguish the significance of the various guidelines in this policy document. Packages that do not conform to the guidelines denoted by must (or required) will generally not be considered acceptable for the Debian distribution. Non-conformance with guidelines denoted by should (or recommended) will generally be considered a bug, but will not necessarily render a package unsuitable for distribution. Guidelines denoted by may (or optional) are truly optional and adherence is left to the maintainer's discretion.

These classifications are roughly equivalent to the bug severities serious (for must or required directive violations), minor, normal or important (for should or recommended directive violations) and wishlist (for optional items).

Unfortunately, Debian is these days showing an increasing and regrettable tendency to ignore RC bugs, even in the stable distribution.

1

I've used both for decades in production (Linux Servers) and I don't see anything that makes Debian better than Ubuntu. Ubuntu can be installed as minimal or full, it is made a little more "human" and it has the Ubuntu community which is "tighter".

0

I have tried to administer a Debian Desktop for family. Previously I have used Ubuntu. Ubuntu put a whole lot more work into the desktop/laptop experience. I consider Ubuntu so much more trust-worthy in this, and I plan to switch back[*].

I suppose this answer is not relevant to the actual question, except to suggest that the advantages of Debian must be in some reasons which are different from the following!

[*] Caveats:

I was waiting for a solid Gnome 3 desktop in a Ubuntu LTS release first. I would have been willing to adapt to the Unity UI, but I was also put off by other aspects like it being a Ubuntu-only project.

Arguably the main reason I have this opinion of Debian, is that they wanted to publish a full Gnome 3 desktop, but they did not have the resources to integrate the Gnome changes without errors. Catastrophic errors, as shown above. There is no sign of increased quality assurance now; Debian has just had a little time to catch up. I had a similar (though less catastrophic) feeling during the KDE4 days.

It's possible there's an alternative older-style desktop that has not suffered such integration errors. But Debian does not have a position on this.

Not the answer you're looking for? Browse other questions tagged or ask your own question.