When should rpm commands such as recommends be used and what are the differences?












0















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 : lp150.3.30.1
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-lp150.3.30.1.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).


If the pulseaudio package is already installed, why is there a recommendation to install libpulse0?




  • What do recommends, conflicts, obsoletes, suggests and supplements
    refer to?

  • What is the difference between recommends, suggests and supplements?

  • When should they be used?









share



























    0















    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 : lp150.3.30.1
    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-lp150.3.30.1.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).


    If the pulseaudio package is already installed, why is there a recommendation to install libpulse0?




    • What do recommends, conflicts, obsoletes, suggests and supplements
      refer to?

    • What is the difference between recommends, suggests and supplements?

    • When should they be used?









    share

























      0












      0








      0








      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 : lp150.3.30.1
      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-lp150.3.30.1.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).


      If the pulseaudio package is already installed, why is there a recommendation to install libpulse0?




      • What do recommends, conflicts, obsoletes, suggests and supplements
        refer to?

      • What is the difference between recommends, suggests and supplements?

      • When should they be used?









      share














      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 : lp150.3.30.1
      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-lp150.3.30.1.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).


      If the pulseaudio package is already installed, why is there a recommendation to install libpulse0?




      • What do recommends, conflicts, obsoletes, suggests and supplements
        refer to?

      • What is the difference between recommends, suggests and supplements?

      • When should they be used?







      yum rpm zypper





      share












      share










      share



      share










      asked 4 mins ago









      MotivatedMotivated

      1737




      1737






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494213%2fwhen-should-rpm-commands-such-as-recommends-be-used-and-what-are-the-differences%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494213%2fwhen-should-rpm-commands-such-as-recommends-be-used-and-what-are-the-differences%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          CARDNET

          Boot-repair Failure: Unable to locate package grub-common:i386

          濃尾地震