Install RPM in CentOS
Install RPM in CentOS
RPM Package Manager (RPM), originally called the Red-hat Package Manager, is a program to install or uninstall software packages or libraries in Linux.
To install RPM in CentOS, first download the RPM:
[roop@localhost ~]$ wget ftp://rpmfind.net/linux/centos/6.6/os/x86_64/Packages/opencv-2.0.0-12.el6.x86_64.rpm
now check in your directory opencv-2.0.0-12.el6.x86_64.rpm will be available for installation.
To install RPM in CentOS you have login as a root user, or if you are installing it other than root user then install it with sudo.
[roop@localhost ~]$ sudo rpm -ivh opencv-2.0.0-12.el6.x86_64.rpm Preparing... ########################################### [100%] 1:opencv ########################################### [100%]
Now your package is available for installation in your yum repository. You can verify package using. Clean you cache “yum clean all”
[roop@localhost ~]$ sudo yum info opencv
You can also safely delete the rpm file rpm -ev option
[roop@localhost ~]$ rpm -ev opencv-2.0.0-12.el6.x86_64.rpm
https://github.com/roopendra/devops/tree/master/bash_scripting
(Visited 133 times, 5 visits today)