Jump to content

Command Crate ¿about?

Install packages without recommended/suggested extras (apt)

apt --no-install-recommends --no-install-suggests package1 package2

Installs specified packages using apt while suppressing recommended and suggested packages, ensuring only required dependencies are pulled for a minimal installation. To disable this behavior system-wide, add the lines APT::Install-Recommends "false"; APT::Install-Suggests "false"; to /etc/apt/apt.conf (or drop files with those settings under /etc/apt/apt.conf.d/) so apt defaults to not installing recommends/suggests

package management [kb:319]