Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The option --install-recommends is not recognized by APT

Tags:

linux

ubuntu

I'm trying to install Wine on Ubuntu 16.04 (Xenial Xerus), but it gives me this error:

\E: Command line option --install-recommends is not understood in combination with the other options

What can I do to make this work?

The code is:

sudo apt-get --install-recommends winehq-devel
like image 688
ILucrativeOne Avatar asked Dec 13 '25 17:12

ILucrativeOne


1 Answers

I think, you forgot the 'install' parameter.

What you wrote:

sudo apt-get --install-recommends winehq-devel

What you should've written (per APT's syntax):

sudo apt-get install --install-recommends winehq-devel

Though I think APT still defaults to your wanted behavior.

So omitting the --install-recommends would've been fine:

sudo apt-get install winehq-devel
like image 130
Aiyion.Prime Avatar answered Dec 16 '25 14:12

Aiyion.Prime



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!