this post was submitted on 06 Feb 2024
124 points (96.3% liked)

Linux

48364 readers
1753 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Examples could be things like specific configuration defaults or general decision-making in leadership.

What would you change?

you are viewing a single comment's thread
view the rest of the comments
[–] 2xsaiko@discuss.tchncs.de 3 points 9 months ago (1 children)

You can use pacman -S --asdeps if that’s what you mean by “weak dependencies” iirc.

[–] Spectacle8011@lemmy.comfysnug.space 2 points 9 months ago (1 children)

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:

Optional Deps   : giflib
                  lib32-giflib
                  gnutls
                  lib32-gnutls
                  v4l-utils
                  lib32-v4l-utils
                  libpulse
                  lib32-libpulse
                  alsa-plugins
                  lib32-alsa-plugins
                  alsa-lib
                  lib32-alsa-lib
                  libxcomposite
                  lib32-libxcomposite
                  libxinerama
                  lib32-libxinerama
                  opencl-icd-loader
                  lib32-opencl-icd-loader
                  libva
                  lib32-libva
                  gtk3
                  lib32-gtk3
                  gst-plugins-base-libs
                  lib32-gst-plugins-base-libs
                  vulkan-icd-loader
                  lib32-vulkan-icd-loader
                  sdl2
                  lib32-sdl2
                  sane
                  libgphoto2
                  ffmpeg
                  cups
                  samba
                  dosbox

--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 about apt, that's a nice feature.

[–] 2xsaiko@discuss.tchncs.de 1 points 9 months ago (1 children)

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.