Pet*_*mit 32 package-management aptitude ubuntu
在 Ubuntu 上安装软件包时,可能会有依赖项、建议和建议。例如:virtualbox-ose有 adduser 作为依赖,libgl1 作为推荐,libpulse0 作为建议。
建议和建议有什么区别?
建议是随 apt 标准安装的。这可以使用开关 --no-install-recommends 来防止
第二个问题:如何强制使用apt安装建议?
虽然这是一个非常古老的问题,但我想在这里写一个答案,因为有一次我搜索了同样的问题并通过谷歌到达这里。
来自man deb-control或https://linux.die.net/man/5/deb-control,它解释了它们的含义:
Recommends: <package list>
Lists packages that would be found together with this one in all but unusual
installations. The package maintenance software will warn the user if they
install a package without those listed in its Recommends field.
Suggests: <package list>
Lists packages that are related to this one and can perhaps enhance its
usefulness, but without which installing this package is perfectly reasonable.
Run Code Online (Sandbox Code Playgroud)
--install-suggests它现在提供了一个apt-get安装建议包的选项。它可以传递给apt.
| 归档时间: |
|
| 查看次数: |
16363 次 |
| 最近记录: |