this post was submitted on 06 Feb 2024
142 points (96.7% liked)
Linux
48186 readers
1082 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
pacman
would allow me to install weak dependencies with a simple command-line option rather than black magic wizardry that rivals ffmpeg filtergraphs.You can use pacman -S --asdeps if that’s what you mean by “weak dependencies” iirc.
What I want to do is install all of these Optional Dependencies that are part of the
wine-staging
package without specifying every one of them:--asdeps
doesn't seem to do that.apt
has--install-recommended
, I think, or something similar. And for all the bad things I could say aboutapt
, that's a nice feature.I think the reason that doesn’t exist is that it doesn’t make sense to install all of them usually. In this case, unless you have a scanner, you won’t want sane, if you don’t have a printer, you won’t want cups, I guess samba might be for AD or SMB network shares which many also don’t use, v4l is for webcams, it’s probably very rare to use opencl inside of wine, and I don’t even know what wine uses dosbox for. And so on. These are optional dependencies for a reason.
--asdeps installs a package as “not explicitly installed”, so it’ll be removed again when uninstalling unneeded packages. So yeah, that’s something else.
In this case, many of these dependencies are required for a lot of games to work properly in Wine. Dosbox is used as an emulation tool. I don't know of another package manager that doesn't give you an option to install all of the optional dependencies.