* Aaron Rainbolt <arraybo...@gmail.com> [2024-11-08 00:21]: [...] > However, this isn't that hard to rectify - rather than specifying the > depth at which apt should stop installing recommends, one can specify > the packages in the dependency tree from which apt should install > recommends from. I.e., to replicate --no-transitive-recommends, one > would do > `sudo apt install package --only-install-recommends-from=package` > (please someone pick a better name for this switch). If you're > installing a complex metapackage network, you can just specify all the > metapackages you want to allow recommends from, i.e. > `sudo apt install metapackage > --only-install-recommends-from=metapackage,submetapackage1,...` [...]
I personally would consider a "apt install-recs", analogous to "apt build-dep", quite useful. That would require multiple steps instead of a single command, but allow installing the recommends for a specific package at any later time, which is also useful when they have changed over time or you change your mind about installing them. - Fay