RPM based package managers support subcommands such as requires, recommends, conflicts, obsoletes, suggests and supplements.
In reading the rpm man pages and dependencies documentation, it isn't clear how these differ.
For example, if i run the command
rpm --query --info MozillaFirefox, the following output is returned.
Name : MozillaFirefox Version : 60.4.0 Release : lp220.127.116.11 Architecture: x86_64 Install Date: Sun 06 Jan 2019 07:43:50 AM NZDT Group : Productivity/Networking/Web/Browsers Size : 161608776 License : MPL-2.0 Signature : RSA/SHA256, Thu 13 Dec 2018 08:35:09 PM NZDT, Key ID b88b2fd43dbdc284 Source RPM : MozillaFirefox-60.4.0-lp18.104.22.168.src.rpm Build Date : Wed 12 Dec 2018 10:35:10 PM NZDT Build Host : cloud138 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : http://www.mozilla.org/ Summary : Mozilla Firefox Web Browser Description : Mozilla Firefox is a standalone web browser, designed for standards compliance and performance. Its functionality can be enhanced via a plethora of extensions.
If i run the command
rpm --query --recommends MozillaFirefox, the following output is returned.
libavcodec-full >= 0.10.16 libcanberra0 libpulse0
I assume that libpulse0 refers to the PulseAudio package. If yes, the command
rpm --query --info pulseaudio returns
Name : pulseaudio Version : 11.1 Release : lp150.4.1 Architecture: x86_64 Install Date: Sun 06 Jan 2019 06:49:12 AM NZDT Group : System/Sound Daemons Size : 3605819 License : GPL-2.0+ AND LGPL-2.1+ Signature : RSA/SHA256, Mon 23 Apr 2018 10:39:20 AM NZST, Key ID b88b2fd43dbdc284 Source RPM : pulseaudio-11.1-lp150.4.1.src.rpm Build Date : Mon 23 Apr 2018 10:38:51 AM NZST Build Host : build70 Relocations : (not relocatable) Packager : https://bugs.opensuse.org Vendor : openSUSE URL : http://pulseaudio.org Summary : A Networked Sound Server Description : pulseaudio is a networked sound server for Linux, other Unix like operating systems and Microsoft Windows. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
pulseaudio package is already installed, why is there a recommendation to install
- What do recommends, conflicts, obsoletes, suggests and supplements refer to?
- What is the difference between recommends, suggests and supplements?
- When should they be used?