How to Install/Uninstall RPM Packages and source packages

Share it!!Share on Facebook0Share on Google+0Tweet about this on Twitter0Share on Reddit0Share on StumbleUpon0

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

Share it!!Share on Facebook0Share on Google+0Tweet about this on Twitter0Share on Reddit0Share on StumbleUpon0
No Comments

Add a Comment

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