News for hackers. Stuff that matters.
Re:Arch Linux turns 20: Small, simple, great documentation by bradrn on Thursday November 24, 2022 @07:39AM (#33730636)
> The installation process, and the documentation behind it, lead to the third virtue: a complete installation tends to be very small and simple, because you only install the bits you need. If you don't know what bits you need, the documentation will help you to work it out, and the result is something that is both fairly minimal and that, with luck, you understand. You know what's in there because you installed it.

I feel this gets to the core of why I like Arch so much. I’m a Linux novice, so for a long time I ran Ubuntu VMs when I needed to do stuff on Linux (this being before WSL). It worked well enough, but I never really felt that I properly knew what I was doing.

Then I tried installing Arch in a VM… and it took me several days and several attempts, but when I finally got it working I felt, for the first time ever, like I actually understood the system I was using. Now I have a webserver running Arch, and only a week or two ago installed Arch on an old PC to see if I could get a desktop working.

Of course, Arch is not easy, especially for a non-expert such as myself. Sometimes I have no idea how to solve a problem, or even what kind of software I need in the first place. I’ve ordered a new laptop to replace my ~10 year old one, and for this reason am planning to install Debian on it instead, in the hopes that it might have more stuff working out of the box. Still, I’d say that trying out Arch has immesurably improved my knowledge, not just of Linux but of the underlying concepts behind modern computing.

(Oh, and the documentation’s amazing too!)

Re:Arch Linux turns 20: Small, simple, great documentation by hutzlibu on Thursday November 24, 2022 @07:54AM (#33730763)
"For this reason, I’m planning to install Debian instead on the new laptop I’ve ordered"

Maybe have a look at manjaro, it is based on arch, but comes prepackaged, so you can just boot up the luve image and install, if everything works.

Re:Arch Linux turns 20: Small, simple, great documentation by bradrn on Thursday November 24, 2022 @07:57AM (#33730794)
I’ve heard of Manjaro, but on the occasions when I’ve brought it up in conversation, people have almost unanimously warned me off from it in fairly strong terms… not entirely sure why, but that alone makes me reluctant to use it.
Re:Arch Linux turns 20: Small, simple, great documentation by jasperry on Thursday November 24, 2022 @08:24AM (#33731041)
Another Arch/AUR-compatible distro with a more automated install process is EndeavourOS. Last time I checked, it was closer to vanilla Arch than Manjaro. But I've mainly used it for spinning up VMs to work remotely. For a long-term workstation I still feel better sticking to plain Arch.
Re:Arch Linux turns 20: Small, simple, great documentation by e3bc54b2 on Thursday November 24, 2022 @08:05AM (#33730860)
They had multiple issues with opsec in the past. Something that when repeats, makes people skittish. Fool me once and al..
Re:Arch Linux turns 20: Small, simple, great documentation by hutzlibu on Thursday November 24, 2022 @08:11AM (#33730919)
I am not aware of critical issues, but there was indeed a time of confusion, when the dev leadership changed. So sources please for current flaws?
Re:Arch Linux turns 20: Small, simple, great documentation by stryan on Thursday November 24, 2022 @11:48AM (#33733378)
This Github repo has the most common issues I've heard of: https://github.com/arindas/manjarno .

Big ones are: shadiness with funding, letting their SSL certs expire 4 times, and the fact that their idea of stable isn't additional testing, but just letting the packages sit for a week.

There was also a recent kerfluffle not covered there where they shipped a broken kernel to Apple Sillicon users without contacting the Asahi devs: https://twitter.com/AsahiLinux/status/1576356115746459648

Re:Arch Linux turns 20: Small, simple, great documentation by hutzlibu on Thursday November 24, 2022 @03:29PM (#33735875)
Well, the funding issue I find to be quite trivial and of no big concern to me, but the repo issues are indeed something that has bothered me at times, where I ended up modifying repos to get the most up to date ones.

The recommendation from the repo, EndeavourOS sounds interesting, though.

Re:Arch Linux turns 20: Small, simple, great documentation by E39M5S62 on Thursday November 24, 2022 @11:48AM (#33733382)
https://www.reddit.com/r/linux/comments/4inrut/manjaros_ssl_...

The link for the post is dead, but they've let their SSL cert expire multiple times. While it happened a few years ago, I find that a hard thing to come back from.

Re:Arch Linux turns 20: Small, simple, great documentation by seized on Thursday November 24, 2022 @12:01PM (#33733531)
I think the most recent incident was a few months ago...
Re:Arch Linux turns 20: Small, simple, great documentation by E39M5S62 on Thursday November 24, 2022 @02:48PM (#33735460)
Good lord.
Re:Arch Linux turns 20: Small, simple, great documentation by oynqr on Thursday November 24, 2022 @11:02AM (#33732826)
It literally took them two months to push the critical expat update on aarch64.
Re:Arch Linux turns 20: Small, simple, great documentation by MegaDeKay on Thursday November 24, 2022 @09:27AM (#33731605)
Manjaro is like Arch but not exactly like Arch. If you have a problem with Manjaro and then go to the (stellar) Arch documentation to try to figure out why it doesn't work in a case like this, that documentation won't help you.
Re:Arch Linux turns 20: Small, simple, great documentation by hutzlibu on Thursday November 24, 2022 @04:12PM (#33736296)
Well, this I cannot confirm. I regular go to the normal Arch docs for help and usually find it suitable. So it is not fundamentally different, but yes, it uses different repos and some things indeed work differently.
Re:Arch Linux turns 20: Small, simple, great documentation by OrderlyTiamat on Thursday November 24, 2022 @05:15PM (#33736845)
I mean that's not true: I daily drive ubuntu and the arch wiki has been very kind to me. But to slightly rework you point, if you're a manjaro user expecting the arch wiki to apply 1:1 to your system, you're mistaken and are in for a bad time.
Re:Arch Linux turns 20: Small, simple, great documentation by nazgulsenpai on Thursday November 24, 2022 @09:49AM (#33731875)
There was a lot of controversy around their swapping LibreOffice out for some proprietary closed source office suite for a while: https://www.forbes.com/sites/jasonevangelho/2019/08/03/manja...
Re:Arch Linux turns 20: Small, simple, great documentation by zdragnar on Thursday November 24, 2022 @10:04AM (#33732061)
N=1 and all, but I've been using it for several years without complaint.
Re:Arch Linux turns 20: Small, simple, great documentation by throwaway62132 on Thursday November 24, 2022 @08:04AM (#33730852)
If one isn't bothered by (or prefers) lack of systemd, Artix provides ISO prepackaged with most common desktop environments.
Re:Arch Linux turns 20: Small, simple, great documentation by rmbyrro on Thursday November 24, 2022 @08:11AM (#33730918)
If we could combine Ubuntu's easiness of use with Arch's simplicity and performance, that'd be my ideal distro for work.

I love Arch for its simplicity and performance.

But it just wasn't productive for me to get everyday tasks done. I'm not advanced Linux user, occasionally I'd need hours to get seemingly simple stuff done.

For a hobby desktop, fine. For a work tool as a developer, I moved back to Ubuntu (though I have moments of regret every day).

Re:Arch Linux turns 20: Small, simple, great documentation by pantalaimon on Thursday November 24, 2022 @08:20AM (#33731003)
I'm afraid simple and easy don't go well together.

You either have automation to make things easy to the user, but then it's no longer simple.

Or you require the user to do everything manually, but then it's no longer easy.

Re:Arch Linux turns 20: Small, simple, great documentation by rmbyrro on Thursday November 24, 2022 @08:28AM (#33731078)
True. Maybe there's a viable middle ground between Ubuntu & Arch.

Perhaps with a focus on the audience (e.g. a web dev distro), it becomes viable to make sensible compromises on both (easiness & simplicity) that result in a good combination for the user.

Re:Arch Linux turns 20: Small, simple, great documentation by jamespo on Thursday November 24, 2022 @08:55AM (#33731295)
Have you looked at EndeavourOS?
Re:Arch Linux turns 20: Small, simple, great documentation by tshanmu on Thursday November 24, 2022 @09:24AM (#33731574)
kali
Re:Arch Linux turns 20: Small, simple, great documentation by pantalaimon on Thursday November 24, 2022 @09:44AM (#33731806)
That's just Debian
Re:Arch Linux turns 20: Small, simple, great documentation by zdragnar on Thursday November 24, 2022 @10:02AM (#33732040)
For general audiences, Manjaro (arch base) fits your ask pretty well, I think. I ran into problems installing arch, switched to Manjaro, and never looked back.

Pop_os! is coming from the other direction, but I found I prefer using i3/sway instead as I had trouble configuring certain things about pop.

Re:Arch Linux turns 20: Small, simple, great documentation by rthomas6 on Thursday November 24, 2022 @11:26AM (#33733122)
Perhaps Manjaro? It tries to be a more user-friendly Arch-like distro.
Re:Arch Linux turns 20: Small, simple, great documentation by cykros on Friday November 25, 2022 @07:44AM (#33741868)
Slackware.

Only reason I've seen to use anything else is if doing a full desktop installation doesn't make sense, as the installer is largely geared around just installing most everything, or perhaps leaving out a category or two. Beyond that, the documentation is clear, and it's made as easy to use as makes sense without just hiding things behind a black box so that when things go wrong, they REALLY go wrong.

Nice to see some of these newer distros like Arch and Ubuntu are coming along though; choice is good.

Re:Arch Linux turns 20: Small, simple, great documentation by bradrn on Thursday November 24, 2022 @08:18AM (#33730978)
This summarises my feelings so far precisely. Alas, I’m not quite sure it’s possible to have this: the easier and more full-featured something is to use out of the box, the more components it needs — or at least, its components become more complicated in and of themselves.

One alternate approach I’ve seen is that of NixOS: everything is declaratively specified in a single place, so it’s easy to configure stuff, but also easy to see how everything works. I actually tried out NixOS before installing Arch on the aforementioned desktop box, and if it wasn’t for the sheer opaqueness of Nixpkgs I’d still be using it. On the other hand, I can hardly call Nix ‘simple’… as with everything, it’s all tradeoffs, I suppose.

Re:Arch Linux turns 20: Small, simple, great documentation by jorgemf on Thursday November 24, 2022 @08:44AM (#33731204)
As I developer I solved my issues with arch using the latest dev tools in arch and running the code in a docker container. That way I also solve all developers issues with dependencies as everybody runs the same docker container with the same libraries.
Re:Arch Linux turns 20: Small, simple, great documentation by dinkleberg on Thursday November 24, 2022 @08:57AM (#33731312)
Check out endeavouros. It is arch with an opinionated installer and WM/DE setup, but then you get a pretty standard arch setup and it’s great.

IMO it combines the best of both worlds.

Re:Arch Linux turns 20: Small, simple, great documentation by JonChesterfield on Thursday November 24, 2022 @09:25AM (#33731580)
I've been installing Ubuntu this week. Checking download updates during install gave me a broken libc dependency graph which blocked installing ssh or gcc. Libpci-dev conflicts with gnome as far as I can tell, installing that took down X and the network. Changing to the server iso of the same version gave me an OS that can't use the builtin intel NIC, though the desktop version can. The driver errors on modprobe, -2.

I'm going to try again with a different Ubuntu release as soon as I can find the patience. Where prior lessons have taught me to vandalise automatic update or it'll brick itself in the future.

Ease of use has not been the defining characteristic of Ubuntu.

Re:Arch Linux turns 20: Small, simple, great documentation by ilyt on Thursday November 24, 2022 @09:43AM (#33731789)
I'm now firmly confirmed that it is Ubuntu that fucks something up. Upgrades seem to work much better with plain Debian.

We've seen many failures during upgrade, from both novice and advanced linux users, meanwhile one of our sysadmins accidentally upgraded Debian by two releases at once (From Debian 9 to 11) and it still "just worked"...

Re:Arch Linux turns 20: Small, simple, great documentation by doubled112 on Thursday November 24, 2022 @10:01AM (#33732027)
I had pretty constant issues with Ubuntu every time I've tried it as well.

I run pure Debian stable everywhere I can in my personal life (laptops, desktops, servers). It's predictable and there's not a lot of planning at update OR upgrade time. Backup, push the button, reboot, done.

Just kidding, backups happen daily automatically, so it's just update and reboot.

Re:Arch Linux turns 20: Small, simple, great documentation by JonChesterfield on Thursday November 24, 2022 @10:11AM (#33732146)
Debian occasionally falls over on me when running unstable but that's kind of the point. Testing hasn't failed on me in at least a decade.
Re:Arch Linux turns 20: Small, simple, great documentation by luxcem on Thursday November 24, 2022 @09:59AM (#33732004)
Same experience from my days in Ubuntu world, it sure is relatively easy for a first time linux user but I had so many issues on it that were completely obscure. I had the feeling of fighting against the system itself all the time.

With arch, sometimes it breaks (not that often), it always is quite clear what went wrong (pacman errors are limpid, logs are clear). You'll find the fix on the Arch Linux News, in the wiki or the forums. Bonus you probably know your system better and as a side effect be more efficient in fixing it.

Re:Arch Linux turns 20: Small, simple, great documentation by malermeister on Thursday November 24, 2022 @10:08AM (#33732111)
> If we could combine Ubuntu's easiness of use with Arch's simplicity and performance, that'd be my ideal distro for work.

You're describing endeavourOS. It's Arch, but with an installer that gets you a sane default desktop quickly.

It's what I use now that I'm too old to waste all that time it takes to get Arch running properly

Re:Arch Linux turns 20: Small, simple, great documentation by me551ah on Thursday November 24, 2022 @10:18AM (#33732240)
Manjaro Linux is what you are looking for then.
Re:Arch Linux turns 20: Small, simple, great documentation by candiddevmike on Thursday November 24, 2022 @08:29AM (#33731087)
You can install Debian the same way you installed Arch (manual, CLI) via debootstrap. It's not really advertised, Debian really wants folks to use their installer.

I built a tool that does this, you can look through the code and see how I do it--it's just bash spaghetti. Download a Debian live ISO (or use my tool to create an Arch-like minimal live USB) and you can install it however you want.

https://github.com/candiddev/forge

Re:Arch Linux turns 20: Small, simple, great documentation by ilyt on Thursday November 24, 2022 @09:41AM (#33731762)
there is also [1] preseed, we use it to install our servers/VMs. It is a bit quirky tho, especially partitioning.

* [1] https://wiki.debian.org/DebianInstaller/Preseed

Re:Arch Linux turns 20: Small, simple, great documentation by rhaway84773 on Thursday November 24, 2022 @10:32AM (#33732450)
But isn’t that the whole point of Arch. It is advertised and promoted and therefore its well documented with a lot of support.

As a novice, if I am stuck somewhere the odds that I find the answer in the Arch Wiki or can ask an Arch enthusiasts and get an answer is orders of magnitude higher than the equivalent sources for Debian.

Re:Arch Linux turns 20: Small, simple, great documentation by WastingMyTime89 on Thursday November 24, 2022 @08:32AM (#33731108)
> Then I tried installing Arch in a VM… and it took me several days and several attempts, but when I finally got it working I felt, for the first time ever, like I actually understood the system I was using.

Honest question: why days?

I have installed arch multiple times in the past decade and I don’t remember anything exceptionally out of the ordinary. You just follow the step-by-step instruction and you are good to go.

It’s all fairly standard: boot on a live cd, get internet, format the disk, mount, arch provides a script to install the base and another to change the root and it’s vanilla Linux config from there.

Edit: Hmm, I guess how to configure a vanilla Linux might be quite complex for someone who has no idea of how to do that. I might have answered my own question actually.

Re:Arch Linux turns 20: Small, simple, great documentation by bombcar on Thursday November 24, 2022 @08:38AM (#33731159)
Even if you follow a guide exactly as stated, you will often find when done that you now know more about the steps you took and want to immediately start over so it's closer to what you want.

The same thing happened to me the first few times I installed Gentoo. Could I have migrated the first install to what I wanted at and had at the end? Sure, if I had the knowledge I didn't have at the time.

Re:Arch Linux turns 20: Small, simple, great documentation by bradrn on Thursday November 24, 2022 @08:35AM (#33731131)
> Honest question: why days?

Because I was a total novice. I barely even knew what a partition was, let alone anything else. Now, of course, I find it much simpler.

Re:Arch Linux turns 20: Small, simple, great documentation by luxcem on Thursday November 24, 2022 @09:38AM (#33731723)
I've installed arch a number of times, and every times I want full disk encryption I struggle a bit on dm-crypt config and bootloader. Other than that it's pretty straightforward.
Re:Arch Linux turns 20: Small, simple, great documentation by jonfw on Thursday November 24, 2022 @10:31AM (#33732441)
If you know most Linux file systems well, you would probably choose one in a few seconds. If nobody has ever asked you to pick a file system before, you could probably spend a couple of days researching.

I think there’s a lot of decisions like that to make in Arch

Re:Arch Linux turns 20: Small, simple, great documentation by sancho_panza on Friday November 25, 2022 @12:11AM (#33739436)
I often have to boot back into the live media because I forgot to install a tool like iwd while chrooted. This information is not included in the single page installation guide. Maybe it’s those scripts i’m unfamiliar with that would shorten the feedback loop.
Re:Arch Linux turns 20: Small, simple, great documentation by kaba0 on Friday November 25, 2022 @07:24AM (#33741746)
Yeah, configuring a kernel is one part plus the install wasn’t always like it is now — in the old times there weren’t as many helper scripts (chrooting manually comes to mind)
Re:Arch Linux turns 20: Small, simple, great documentation by me551ah on Thursday November 24, 2022 @10:17AM (#33732234)
You should try Manjaro Linux, it's based on Arch but has more stuff out of the box.
Re:Arch Linux turns 20: Small, simple, great documentation by dartharva on Thursday November 24, 2022 @11:11AM (#33732955)
Not anymore. Archinstall, an easy-to-use installation script, now comes included in the ISO and so now anyone can install it and get a full-fledged OOTB distro ready within minutes.
Re:Arch Linux turns 20: Small, simple, great documentation by silisili on Thursday November 24, 2022 @11:19AM (#33733053)
Does archinstall let you luks encrypt without LVM? I've never understood why every distro feels these two are dependent on each other.
Re:Arch Linux turns 20: Small, simple, great documentation by dartharva on Thursday November 24, 2022 @11:34AM (#33733221)
I'm not sure since I did not use disk encryption, but it very likely does. You may want to Google it to confirm.
Re:Arch Linux turns 20: Small, simple, great documentation by ttarr on Thursday November 24, 2022 @04:00PM (#33736182)
I use luks with btrfs, setup using archinstall, works as expected, I hope this helps.
Re:Arch Linux turns 20: Small, simple, great documentation by ghostpepper on Thursday November 24, 2022 @11:12AM (#33732956)
Installing arch used to be a lot easier before they deleted the Beginners Guide and redistributed the contents to a bunch of different pages in the wiki.

edit: Beginner's guide, not install guide, is what was deleted

Re:Arch Linux turns 20: Small, simple, great documentation by jvinet on Thursday November 24, 2022 @11:48AM (#33733376)
> Still, I’d say that trying out Arch has immeasurably improved my knowledge, not just of Linux but of the underlying concepts behind modern computing.

I love hearing that, because it was a goal of Arch from the very beginning: to stop fearing the commandline.

And I was the first alpha tester, in that I wanted to learn more about how the sausage was actually made, so to speak. I was comfortable using things like Linuxconf at the time, but its beginner-friendly veneer meant that I didn't really know what to do if it _wasn't_ there.

After tinkering with Crux and PLD for a bit, I wanted to go deeper and start from nothing. So I loaded up the LFS[1] docs and just started typing in the shell stanzas to start building my compilation toolchain. In an effort to DRY as much as possible, the work also got placed into shell scripts, which eventually became PKGBUILD modules.

I started having way too much fun with it, so I put up the world's ugliest webpage[2] to share my triumphs, and a couple people found it, somehow. That begat the immediate need for documentation, which eventually brought Arch into the forefront. I can't recall who spearheaded the Arch wiki, but we owe them a great debt, because it has become a valuable resource for Linux users, and not only the Arch users.

Arch is my happiest accident.

ps: btw, I run Arch (is this still a meme?)

[1] https://www.linuxfromscratch.org/

[2] https://web.archive.org/web/20020328043401/http://www.archli...

Re:Arch Linux turns 20: Small, simple, great documentation by sodaplayer on Thursday November 24, 2022 @12:29PM (#33733897)
Thanks for starting it! I dabbled with Ubuntu, Debian and SUSE in highschool and would occasionally see things from the Arch Wiki when troubleshooting problems. Learned about its philosophy when at a highschool computing competition and my team captain was raving about one of our opponents using Arch.

Started a CS degree the following year, and I decided I wanted to take Linux more seriously, so I wiped Windows off my laptop and threw Arch on it to force myself to learn, and it's been my daily driver now for the last decade!

Re:Arch Linux turns 20: Small, simple, great documentation by realgeniushere on Thursday November 24, 2022 @01:45PM (#33734867)
This is a false sense of understanding that many Linux users develop. You basically built a puzzle by putting together the pieces that fit together. And you have the illusion that you learned something about the picture drawn on the pieces.

You don’t really understand anything more except how to configure a system with a poorly designed configuration system. Installing a difficult-to-use Linux distribution teaches you nothing about operating systems, compilers, linkers & loaders, shared libraries, or anything else about the foundations of modern computing.

Re:Arch Linux turns 20: Small, simple, great documentation by bradrn on Thursday November 24, 2022 @06:15PM (#33737289)
I think it’s a continuum. Sure, I freely admit that I’m still rather ignorant when it comes to the low-level details of my computer. But compared to the understanding I get from Windows or Ubuntu? From that point of view, I’ve learnt a lot.

Besides, it’s not like this knowledge is useless. I now find myself being able to diagnose and fix problems with my system which previously I was clueless about. And it makes it a lot easier for me to learn the lower-level details if I so choose.

Re:Arch Linux turns 20: Small, simple, great documentation by grandiego on Thursday November 24, 2022 @07:07PM (#33737584)
IMHO in most cases the "sense of understanding" comes from all the related materials which you read when installing a "difficult" system: it is difficult not because inherent complexity but for lacking abstracting tools (like GUI wizards) which forces the user to learn more in order to understand the "limited" provided interface. I remember my first (Softlanding?) Linux installs (by mid nineties) reading about hard disk geometry, the mandatory kernel recompilation for the network card drivers, the soft links when upgrading shared libraries, the monitor frequencies for X11, and a big etc. which previously (with DOS/Win 3.x) never had to deal with.