#571 Instructions to install packages should not specify their dependencies
Opened a year ago by jn64. Modified a year ago

In step 4 of How to Set Nvidia as Primary GPU on Optimus-based Laptops :: Fedora Docs, users are told to "install the driver and its dependencies" with this command:

sudo dnf install gcc kernel-headers kernel-devel akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-libs.i686

Problems with explicitly specifying dependencies:

  • Fragile—Dependencies may change
  • Unintentional packages left installed—If a user later decides to remove xorg-x11-drv-nvidia\* (according to RPM Fusion) or akmod-nvidia, the other packages like gcc, kernel-headers, kernel-devel will not be autoremoved even if the user has no other installed packages that depend on them.
  • Unnecessarily long

Based on Howto/NVIDIA - RPM Fusion, the command can be reduced to:

sudo dnf install akmod-nvidia

@t0xic0der ^ could you take a look please?

Letting the program to be installed pull in its dependencies seems reasonable to me. But we would have to get a new image as well.

@jn64 valid point.

Could you please make a pull request against the docs website to make that correction?

I am a bit caught up right now so if you cannot, I can make the said changes later.

Issue tagged with: good first issue

a year ago

Metadata Update from @hankuoffroad:
- Issue untagged with: good first issue

a year ago

Issue tagged with: help wanted

a year ago

Login to comment on this ticket.

Metadata
Boards 1
QuickDocs Boards Status: In Progress