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
###############################################################
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
###############################################################
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. 🙂