by m348e912 · 9y ago · 0 comments
After switching to Fedora because we're using CentOS at work, I've come to like it. DNF and yum are fine replacements for APT. A PPA analog (copr) is just a 'dnf copr enable user/project_name'. 'dnf history' shows every transaction on my system and makes it easy to undo installations.
The only things I don't like on an out-of-the-box Fedora installation are the stupid, touchscreen sized title bars in GNOME 3 and SELinux - which is fortunately easily disabled.
What does one do to fix the title bars?
cat << EOF > ~/.config/gtk-3.0/gtk.css
/* Make window title bars more compact.
*
* From: https://unix.stackexchange.com/questions/276951
*/
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
margin-top: 2px; /* same as headerbar side padding for nicer proportions */
margin-bottom: 2px;
}
EOFNeed to set up device #25?
Upload and run. You're guaranteed to get the same system as device #24,23...
You can keep it in source control, etc.
If it (or guix - no systemd FTW) takes off, I can't imagine using another distro again.
Unfortunately, though, it doesn't have enough maintainers yet (a year or so ago nginx was some 4 or 5 versions behind, and they definitely don't do backports/LTS).
1) Identify a really interesting piece of software, like OpenFOAM, with (unbeknownst to me) lots of dependencies
2) Take a half hour walk to the local library with my shiny 4gb flash drive (89 dollars, a Christmas present to myself).
3) Download the .tar.gz of the software.
4) Walk home.
5) Unpack the .tar.gz and run ./configure. Watch it fail.
6) Walk back to the library to download the missing dependency. Walk home.
7) Goto 5.
I ended up very irritated that configure always fails on the first missing dependency, instead of comprehensively listing the missing requirements in one go. Things did get a bit easier when I learned to scour the documention for any libraries referenced, but of course reading the docs still often required a trip back home to unpack the tarball...
Thanks to everyone who did read that book and others cover to cover (or wrote them), so that my linux install just works.
https://en.wikipedia.org/wiki/Linux_Network_Administrator's_...
Take a look at the zypper SAT solver (from opensuse) that powers Redhat's DNF package manager today - https://en.opensuse.org/openSUSE:Libzypp_satsolver
The package management of today is a very different beast altogether. And we are on the cusp of the next generation - snap and flatpak.
Fixed that for you.
Encountering dependency hell is usually a sign that you don't know what you're doing.
Red Hat "just works" and has always enjoyed the reputation of being the most bulletproof distro if you could afford it.
I've always heard that said about Debian more than about Red Hat (though Red Hat certainly is pretty stable).
Red Hat has a lot more success in businesses though because you can get contractual support; which may not only be useful if you don't want to get the skills in-house but also because your own customer may contractually require it.
But this is not true in all areas, especially in some aspects that matter to companies such as training/certification and having good up-to-date documentation.
And as a volunteer-driven project, I don't think Debian can ever be as responsive to end-user problems or requirements as a commercial product can be.
But it definitely gives Red Hat a good run for its money. For example, the Debian LAMP stack has long been and still is the gold standard.
A good sysadmin would know how to avoid dependency hell. For example this might include taking basic precautions such as testing changes in a chroot or development/testing environment, before rolling them out.
I'm not saying the problem didn't exist, only that it wasn't an actual problem if you knew what you were doing.
Also, RedHat didn't ship with (relatively) much software (install everything was an option). Now you've got to configure; make; make install. Now you've got two parallel installations of libraries and software.
Oh. And the RPM database would die periodically (rpm anything would hang), requiring a reinstallation.
Since moving to Debian over a decade ago, I think I had to configure; make; make install something only once (it was an old and unmaintained Java library on SF.net). Almost everything (open source) is in the Repos.
May be true, but they're given so much distribution independent code back, that I'm really glad they made it. It even seems that they contribute more to desktop Linux (GNOME, PulseAudio, systemd, kernel devs etc.), than Canonical does, (they seem to focus on Ubuntu-specific solutions mostly), which is pretty neat for a server vendor.
I didn't give up Mandriva until near the end, when I jumped ship to Ubuntu.
I know someone did a blog or article on the RPM format internals, but damned if i can find it with a quick search. I just get a whole bunch of Fedora and Red Hat links...
https://blog.bethselamin.de/posts/argh-pm.html
seems to be what i was thinking about earlier.