Linux - RPM

RPM is one of the tools for linux package install. Below are some useful commands

Please replace XXX with your rpm package name

1. Install to default folder

rpm -i XXX.rpm

2. Install with Relocation

rpm -i --prefix=/ur/path XXX.rpm

3. Check whether a rpm package can be relocated

rpm -qpi XXX.rpm | grep Relocations

4. Check for installed package in machine

rpm -qa | grep XXX

5. Uninstall a package

rpm -e XXX

6. Upgrade a package

rpm -U XXX.rpm


  1. I am not very used to the Linux environment so blogs are a great source of information when I need some.Thanks for providing informative and to the point blogs which saves me a lot of time.
    electronic signature


Post a Comment

Popular posts from this blog

FFMPEG - Creating timelapse with FFMPEG with JPEG

MP4 File Format Part 1