install-recommends is set to true, because those packages are usually needed for a useful installation. Only in unusual cases you don't need the recommended packages. It is recommended to leave this on default as it is to get less problems, unless you are really low on disk-space.
If you do not want to install recomended packages you can run apt-get with the --no-install-recommends flag or aptitude with the --without-recommends / -R flag.
Aug 22, 2012 · 8 Answers Active Oldest Votes 108 If you do not want to install recomended packages you can run apt-get with the --no-install-recommends flag or aptitude with the --without-recommends / -R flag. If you want these flags to always be enabled (I do NOT recommend this) put the following lines in your /etc/apt/apt.conf file:
I do not have any packages other than what debian installs automatically during a minimal install. I deselected everything in taskel (no desktop environment, nothing). I want to install some packages. Since I am creating a minimalist install, I want to always use sudo apt-get --no-install-recommends <package-name>.
Mar 16, 2018 · sudo apt-get --install-recommends winehq-devel. What you should've written (per apts 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. Share.
04.04.2019 · apt-get is a command-line tool which helps in handling packages in Linux. Its main task is to retrieve the information and packages from the authenticated sources for installation, upgrade and removal of packages along with their dependencies. Here APT stands for the Advanced Packaging Tool.
sudo apt-get install --install-recommends winehq-stable Please enter Y when prompted with a choice of y/n for installation. After that, the stable version of Wine will be installed on your system. WineHQ Development: This is the most recent version of Wine but it might not be very stable.
Installing with --no-install-recommends vs. removing packages afterwards is not the same. The first skips all recommended packages where in the second case, some packages may still be installed (as dependency of another package). I suggest you using the Alternate installer which allows you to select packages you want to install. – Lekensteyn
19.04.2021 · apt-get install --no-install-recommends 19 Apr 2021 I learned about apt-get install’s “–no-install-recommends” flag, and I used it to prevent unnecessary “recommended” packages from getting installed. This helped reduce some unnecesary bloat in a Docker image.
The package is a recommended package according to python-omniorb description in Raring. $ sudo apt-get install --reinstall python-omniorb $ sudo apt-get install --reinstall --install-recommends python-omniorb I purged python-omniorb and ran the simplest command like below, then the recommended package got installed. Although
16.03.2018 · sudo apt-get --install-recommends winehq-devel. What you should've written (per apts 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. Share.
Debian's mailx package only 'recommends' exim4, doesn't require it. If you don't want to install recommended packages, just add APT::Install-Recommends ...
15.11.2019 · By default APT will install required and recommended packages. Disabling recommended packages To avoid the installation of recommended packages, we included the flag --no-install-recommends when using APT in our Dockerfile. RUN apt-get update && apt-get install --no-install-recommends --yes python3
Recommends are installed by default (since Lucid). To negate this for a specific package, use apt-get --no-install-recommends install pkg. Suggests, however, are not.
install-recommends is set to true, because those packages are usually needed for a useful installation. Only in unusual cases you don't need the recommended packages. It is recommended to leave this on default as it is to get less problems, unless you are really low on disk-space.
install-recommends is set to true, because those packages are usually needed for a useful installation. Only in unusual cases you don't need the recommended ...
Installing with --no-install-recommends vs. removing packages afterwards is not the same. The first skips all recommended packages where in the second case, some packages may still be installed (as dependency of another package). I suggest you using the Alternate installer which allows you to select packages you want to install. –