Do not install recommended packages of dependencies

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












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?







share|improve this question
















  • 2




    The --(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 at 6:49






  • 3




    Possible duplicate of How to --install-suggests on an already installed package?
    – muru
    Apr 24 at 6:49






  • 2




    (It might be possible to use aptitude'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 at 6:53















up vote
2
down vote

favorite












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?







share|improve this question
















  • 2




    The --(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 at 6:49






  • 3




    Possible duplicate of How to --install-suggests on an already installed package?
    – muru
    Apr 24 at 6:49






  • 2




    (It might be possible to use aptitude'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 at 6:53













up vote
2
down vote

favorite









up vote
2
down vote

favorite











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?







share|improve this question












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?









share|improve this question











share|improve this question




share|improve this question










asked Apr 24 at 6:37









linuxbuild

1916




1916







  • 2




    The --(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 at 6:49






  • 3




    Possible duplicate of How to --install-suggests on an already installed package?
    – muru
    Apr 24 at 6:49






  • 2




    (It might be possible to use aptitude'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 at 6:53













  • 2




    The --(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 at 6:49






  • 3




    Possible duplicate of How to --install-suggests on an already installed package?
    – muru
    Apr 24 at 6:49






  • 2




    (It might be possible to use aptitude'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 at 6:53








2




2




The --(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 at 6:49




The --(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 at 6:49




3




3




Possible duplicate of How to --install-suggests on an already installed package?
– muru
Apr 24 at 6:49




Possible duplicate of How to --install-suggests on an already installed package?
– muru
Apr 24 at 6:49




2




2




(It might be possible to use aptitude'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 at 6:53





(It might be possible to use aptitude'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 at 6:53
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027683%2fdo-not-install-recommended-packages-of-dependencies%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027683%2fdo-not-install-recommended-packages-of-dependencies%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491