Skip to content

u/thetornainbow

In this archive from Nov 2013 to Oct 2017

4
posts
131
comments
4
media
441
score

Top posts

Top comments

I am definitely not an expert, but it's mainly because Debian is a very stable environment (which you want for most deployments) with a large team of developers behind it. It patches security fixes very fast and in general is a rock solid choice for most use cases.

Red Hat is used quite widely as well in the form of RHEL - the enterprise targeted, paid distribution with enterprise level support or CentOS, the longterm stable and free as in beer version of RHEL and near 100% compatibility with RHEL. Debian generally has newer packages than CentOS and is free as in beer compared to RHEL, and if you don't need enterprise level support you really don't need RHEL.

Slackware, while a venerable and awesome distribution, still doesn't have dependency resolution in its package manager and is only developed by one person. So when it comes to deploying anything other than a home server, you really need something a little more automated than Slack (again, not saying it's not a good distribution or anything, just not something that fits as well in an environment with typical production requirements).

Disclaimer: These are my own opinions, and do not necessarily reflect the opinions of Red Hat, Debian, Patrick Volkerding, Richard Stallman, the respectable race of penguins, any other neck-bearded individual, or the church of GNU.

15 points

When I "try" out a package, I use a trick I saw on a blog. You can use pacman's ability to mark a package as explicitly installed or installed as a dependency to keep track of packages you may not want to keep.

So for instance, say I'm trying out the browser Midori. I could run

pacman -S --asdeps midori

which would install midori and mark the obviously explicitly installed program as a dependency. The trick is that no other package depends on midori, so it's treated as an orphan and can be found easily with

pacman -Qtd

which queries the packages that have been installed as dependencies (-d switch) and not required by any other package (-t switch).

So say I move on, a few days later I wonder what I've tried, and look at the list and decide whether I want to keep midori (or whatever the package may be). If I do want to keep it, it's a simple

pacman -D --asexplicit midori

which marks it as an explicitly installed package just like the rest. Also, if there's a program you want added to the list of unneeded dependencies to track you can of course run

 pacman -D --asdeps nameofpackage

to mark it and find it with pacman -Qtd.

I use this quite a bit, and it makes it really handy if you're trying out several different things for a certain use case, or so on. If you're not keeping it, you can use

pacman -Rns 

to remove the package and it's native dependencies. I hope that's what you're asking :)

14 points

The distros you named in your title are all fairly different.

If you want "rock solid" in the sense of fairly static package management (i.e. packages do not get updated often, except for security and bugfixes, very well tested, etc.) you can't do better than Debian. Not to mention a Debian netinstall .iso is just as barebones as Arch or Gentoo. Also, keep in mind that Debian takes a much more crystallized stance against non-FLOSS software.

Arch and Gentoo have a totally different design philosophy as they are what is called "rolling-release" cycle. They do not have atomic releases or upgrades, major or minor versions, like Debian or Slackware. Software is always being updated and usually on the schedule it's released upstream. However, if you learn to manage them properly, Arch and Gentoo can be just as "rock solid" as Debian in terms of stability of your software and control over what is on your system.

Two major differences between Gentoo and Arch: package management and init systems. Arch uses binary packages (i.e. precompiled) and systemd as init, whereas Gentoo uses OpenRC by default and you compile your own software. The Gentoo package management system, portage, uses USE flags to control compilation options and you control virtually every aspect of your software. While you can of course get precompiled binaries on Gentoo, and can certainly compile packages on Arch using the Arch Build System (ABS), I'm just pointing out that Gentoo forces you to compile software while Arch by default uses binary packaging. Also, both Arch and Gentoo have famously helpful wikis (although IMO the Arch wiki is much much more up to date), and have pages on those wikis explaining the differences between them and other distros.

As I've never used Slackware, perhaps another person could comment further, but it is THE oldest continually used distro and usually considered one of the most stable. The package management is incredibly simple, and is not dependency aware (i.e. when you install package A on most other distros, it will search for dependencies B through * and install them, on Slackware this is not the case).

However, I do want to note that you can learn Linux deeper on any system you choose, it's mainly that with these distributions you are forced to learn more about what goes on in a Linux environment then something like Linux Mint.

For me personally, I use Arch on my laptop and love using it. The control I get along with the huge number of software available in the Arch official repos and in the Arch User Repository (the famous AUR) is hard to beat. On my desktop, my main at-home machine, I use CRUX Linux which is what Arch was inspired from. It's a beautiful, definitely for the DIY users, dead simple Linux distro. It has a bsd-style init, ports-like system (a la BSDs), and is as bare-bones as you can get. You even manage the kernel configuration and compilation yourself (like Gentoo). While this might sound like a special kind of hell for a lot of Linux users, the control is unparalleled and the Pkgfiles (package build recipes) are a dream to write compared to Gentoo's ebuilds, Arch's PKGBUILD's and Slackware's Slackbuilds (I could be wrong, but just look at the gcc Pkgfile for Crux. It's my main driver and I haven't looked back since I switched from Arch last summer on my desktop. :)

Sorry for the wall o' text, but it's Saturday and I have nothing better to do.

13 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.