News for hackers. Stuff that matters.
Re:A BSD person tries Alpine Linux by sebtron on Friday April 26, 2024 @06:52AM (#40167819)
I was expecting some comment on the fact that man pages, a point of pride for the BSDs, are not included by default in Alpine. That's one of the reasons that kept me from using it on my travel laptop (now running OpenBSD).

Alpine users, am I missing some configuration option to make sure all documentation is always installed when getting a package? Or is manually installing the -doc package every time the only way?

Re:A BSD person tries Alpine Linux by stock_toaster on Friday April 26, 2024 @07:00AM (#40167870)
If you always want docs, you just install the `docs` meta package that will pull in any `*-doc` package for anything else you install.
Re:A BSD person tries Alpine Linux by chupasaurus on Friday April 26, 2024 @07:34AM (#40168098)
It works similarly in i.e. Debian, so it's not really a quirk of Alpine.
Re:A BSD person tries Alpine Linux by oarsinsync on Friday April 26, 2024 @10:42AM (#40169940)
Can you elaborate on what you mean here? I’ve never seen a Debian install packages without docs in 20 years. What have I been doing right/wrong?
Re:A BSD person tries Alpine Linux by hedora on Friday April 26, 2024 @11:24AM (#40170605)
If you use a `-slim` debian docker image variant, it won't have the manpages (or most locales, and apt will be stripped down, etc, etc).

I think you can achieve the same thing on bare metal by being careful to tell it not to install a bunch of base package sets.

Alpine is more container-focused than debian, so I imagine they default to something closer to `-slim`, but I haven't tried installing it on bare metal or in a VM.

Re:A BSD person tries Alpine Linux by bradfa on Friday April 26, 2024 @11:57AM (#40171026)
The "manpages" and any "locale" packages are neither required nor important so are not included in a Debian minbase install. If you want them, you can install them easily with apt.

I'm not sure what you mean by apt being stripped down. You get the normal apt still.

Re:A BSD person tries Alpine Linux by marcosdumay on Friday April 26, 2024 @12:21PM (#40171205)
On Debian some packages come with the manual, but have the info-pages as a *-doc (like coreutils), some packages come with basic manual and have extra ones on the doc package (like linux-image), some packages have no documentation at all on the main package (AFAIK nothing on the minimal installation), and some packages bundle everything.
Re:A BSD person tries Alpine Linux by chupasaurus on Saturday April 27, 2024 @06:13PM (#40184070)
And *-doc packages are not required for their main counterparts.
Re:A BSD person tries Alpine Linux by sebtron on Friday April 26, 2024 @07:21AM (#40168016)
Thanks, that's exactly what I needed!
Re:A BSD person tries Alpine Linux by hyper_cube on Friday April 26, 2024 @09:59AM (#40169487)
This was going to be my inquiry, thanks!
Re:A BSD person tries Alpine Linux by MrDrMcCoy on Friday April 26, 2024 @03:00PM (#40172932)
OpenBSD on a laptop? How is the hardware support?
Re:A BSD person tries Alpine Linux by sebtron on Friday April 26, 2024 @05:48PM (#40174708)
On this specific laptop, eveything works. It's a 2010 Asus netbook though.