How query custom installed rpm package

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












How query custom installed rpm package



Generally if i need to query rpm based package I use following commands



rpm -qi package



rpm -ql package # to get installed binaries of package



rpm -qf path to binary # to get related package name of the path



All above mentioned commands work very well with all the installed packages, but problem raised when I have installed package in custom location using following commands



rpm –prefix=/opt -ivh package



rpm -relocate=/opt -ivh package



So when I used above mentioned commands package got installed properly but I was not able to use following rpm query commands



rpm -qi package



rpm -ql package # to get installed binaries of package



rpm -qf path to binary # to get related package name of the path



Is there a way I can query custom installed rpm package









share









New contributor




chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    How query custom installed rpm package



    Generally if i need to query rpm based package I use following commands



    rpm -qi package



    rpm -ql package # to get installed binaries of package



    rpm -qf path to binary # to get related package name of the path



    All above mentioned commands work very well with all the installed packages, but problem raised when I have installed package in custom location using following commands



    rpm –prefix=/opt -ivh package



    rpm -relocate=/opt -ivh package



    So when I used above mentioned commands package got installed properly but I was not able to use following rpm query commands



    rpm -qi package



    rpm -ql package # to get installed binaries of package



    rpm -qf path to binary # to get related package name of the path



    Is there a way I can query custom installed rpm package









    share









    New contributor




    chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      How query custom installed rpm package



      Generally if i need to query rpm based package I use following commands



      rpm -qi package



      rpm -ql package # to get installed binaries of package



      rpm -qf path to binary # to get related package name of the path



      All above mentioned commands work very well with all the installed packages, but problem raised when I have installed package in custom location using following commands



      rpm –prefix=/opt -ivh package



      rpm -relocate=/opt -ivh package



      So when I used above mentioned commands package got installed properly but I was not able to use following rpm query commands



      rpm -qi package



      rpm -ql package # to get installed binaries of package



      rpm -qf path to binary # to get related package name of the path



      Is there a way I can query custom installed rpm package









      share









      New contributor




      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      How query custom installed rpm package



      Generally if i need to query rpm based package I use following commands



      rpm -qi package



      rpm -ql package # to get installed binaries of package



      rpm -qf path to binary # to get related package name of the path



      All above mentioned commands work very well with all the installed packages, but problem raised when I have installed package in custom location using following commands



      rpm –prefix=/opt -ivh package



      rpm -relocate=/opt -ivh package



      So when I used above mentioned commands package got installed properly but I was not able to use following rpm query commands



      rpm -qi package



      rpm -ql package # to get installed binaries of package



      rpm -qf path to binary # to get related package name of the path



      Is there a way I can query custom installed rpm package







      linux bash rhel yum rpm





      share









      New contributor




      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share









      New contributor




      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share








      edited 7 mins ago









      Rui F Ribeiro

      37.3k1374118




      37.3k1374118






      New contributor




      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 9 mins ago









      chaitanya gudur

      112




      112




      New contributor




      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      chaitanya gudur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          chaitanya gudur is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477346%2fhow-query-custom-installed-rpm-package%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          chaitanya gudur is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          chaitanya gudur is a new contributor. Be nice, and check out our Code of Conduct.












          chaitanya gudur is a new contributor. Be nice, and check out our Code of Conduct.











          chaitanya gudur is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477346%2fhow-query-custom-installed-rpm-package%23new-answer', 'question_page');

          );

          Post as a guest













































































          rKfXHD4NNjClq6ctZJhHj,W83GhJ,o85JW2hjILb,W9s Z4IR3bZjU8DnBvax,rTL,fGe,5K6 DbDw4hA,NC
          xHYskoXqMU1PWyeNiLb0qA3bg,HgarF OoSeIskyKCpC aaIsXYXn7ABKsF2128iKMYRUKxs c,pK6F

          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          How many registers does an x86_64 CPU actually have?

          Displaying single band from multi-band raster using QGIS