paru icon indicating copy to clipboard operation
paru copied to clipboard

Ask the users if they want to install optional dependencies (list to select them)

Open RubenKelevra opened this issue 2 years ago • 1 comments

  • [x] Have you checked the readme and man page for this feature?
  • [x] Have you checked previous issues for this feature?

I find myself often scrolling after installing some programs to see which optional dependencies the maintainers recommend, doing copy/paste of the names of those dependencies and install them afterwards etc.

Would be nice if yay could just list the optional dependencies of the programs and dependencies which are about to get installed and let us select them by number to be installed as well.

This would probably require a loop to do this again, if there are optional dependencies for the now selected optional dependencies (and their mandatory dependencies).

This should not include (optional dependencies) of build-dependencies or check dependencies, as they should be listed as required by the maintainers to do the work.

RubenKelevra avatar Apr 17 '22 16:04 RubenKelevra

paccheck may be the tool to ask here for more info:

$ paccheck --opt-depends [--recursive] "list of packages"

RubenKelevra avatar May 30 '22 03:05 RubenKelevra