intel / oneapi-containers

BSD 3-Clause "New" or "Revised" License
111 stars 45 forks source link

optimization debian package manager tweaks #1

Closed Rajpratik71 closed 4 years ago

Rajpratik71 commented 4 years ago

By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages .

By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.

This results in smaller downloads and installation of packages .

Refer to blog at Ubuntu Blog .

Signed-off-by: Pratik Raj rajpratik71@gmail.com

jerroydmoore commented 4 years ago

@Rajpratik71,

This is a great contribution! Have you measured how much smaller the new images are using the --no-install-recommends flag?

Rajpratik71 commented 4 years ago

@Rajpratik71,

This is a great contribution! Have you measured how much smaller the new images are using the --no-install-recommends flag?

didn't done that research in terms of figure but in general the improvement is acceptable