Suggest a StoryDo you have a news tip? We would like to hear from you.

How to Install/Uninstall RPM Packages and source packages

Hello guys,

In this post I already showed you how to install/Uninstall DEB packages.

Now I will show you how to install/uninstall RPM packages, and how to install sources RPMs

Distributions such as Redhat, Fedora, and CentOS using packages with .rpm extension

1. Installing RPM packages

” rpm -uvh ” Will use this command to install packages

  • what’s uvh means ?

u : used for updating RPM packages to last version

v : show verbose messages while running command lines

h : Gives you hash “#” characters during installation process

Terminal :

###############################################################

Access the directory for downloaded package for example : cd download

Your@username-laptop:~$ rpm -Uvh package name.rpm
..
.
Installation process successfully

###############################################################

2. Installing sources RPMs

Some packages you want to install required a source files to work with kernel  version. Here is the command for installing source packages

Require root privilege

Your@username-laptop:~$ rpmbuild –rebuild package name ending with “.src.rpm” extension

3. Uninstalling RPM packages

Terminal :

###############################################################

Your@username-laptop:~$ rpm -e package name

###############################################################

  • you will need root privilege to remove this package
  • make sure you type package correctly with version if available as show on -qa command listing

That’s it for now. 🙂

Support Us By Sharing
One Comment

Leave a Reply

Enjoy LinuxNov? Please spread the word :)

  • +LinuxNov
    +LinuxNov
    http://www.linuxnov.com/how-to-installuninstall-rpm-packages-and-source-packages/">
  • LinuxNov
    LinuxNov
  • http://feeds.feedburner.com/linuxnov
  • http://feeds.feedburner.com/linuxnov
  • LinuxNov
    LinuxNov