Recommended packages of a package and recommended packages of it's dependencies are installed by default when installing a package (tested on Ubuntu 18.04 Beta).
How to install recommended packages of a package, but skip recommended packages of it's dependencies by a single apt
command?
--(no-)install-{recommends,suggests}
flags are set for the entire apt operation, so your best bet would be (a) either installing without recommends and then installing the recommends, or (b) parsing out the recommends and installing them explicitl. Both are covered in ... – muru Apr 24 '18 at 06:49aptitude
's filter given there for an easier single command operation:aptitude install --without-recommends foo ~Rrecommends:foo
, though I haven't tested it.) – muru Apr 24 '18 at 06:53