20 Practical Examples of RPM Commands in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

26 Responses

  1. Naresh says:

    As root user , I installed a package using rpm -ivh . All the files and folders are with a user:group which i don’t want.
    How can i install with specific user:group?

    • Ravi Saive says:

      @Naresh,

      That’s not possible, you can’t install packages with specific user permission, and in Linux only root or sudo privileged user can install packages with its own permission, yes but you change the ownership to whatever user only after installation of packages..

  2. Raheem Khan says:

    I Want SQL command line in RHEL 6, what to do??? and also location of rpm packages in linux??

  3. kattanaresh says:

    Hai tecmint,

    Is there any log file for rpm package.not yum

    Thanks

    • Ravi Saive says:

      @Naresh,

      Sorry your question is not clear to me, what you trying to say? you mean to have a log for all installed RPM files? If yes, then you should look for yum-utils tools that will provide more information about RPM packages..

  4. Rashid Hussain says:

    Good Dear , carry on

  5. Amit Singh says:

    I want to update all rpm package in linux. what is command. please tell me

  6. javed says:

    Q : how to automatically install dependencies of installing rpm package?? if one rpm package requires 10 dependencies then I need to download 10 dependencies separately?

    • Ravi Saive says:

      You can use following way to install all dependencies of a RPM package.

      yum localinstall rpmpackage.rpm
      
  7. roger says:

    The “–nodeps” in #4 doesn’t print out quite right in html it makes it look like a single dash…fwiw.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's