LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2009, 03:17 AM   #1
cp_almora09
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
CentOS-4 i386 (2.6.9-34.0.2.EL) (Red Hat 3.4.5-2)


I am trying to install opencv in my centOs system. When I am giving the below command it is showing the information below :


[root@asterisk1 opencv-rpm]# rpm -ivh opencv-1.0.0-1.el4.rf.i386.rpm --nodeps
warning: opencv-1.0.0-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
package opencv-1.0.0-1.el4.rf is already installed


but when I am querying whether it is installed or not by the command below it is showing this information:

[root@asterisk1 opencv-rpm]# rpm -q opencv-1.0.0-1.el4.rf.i386.rpm
package opencv-1.0.0-1.el4.rf.i386.rpm is not installed


so I am not understanding what exactly is happening. So can you figure out what is the problem.

After figuring out the problem can you also tell me the commands to run the opencv application.

Thanks to you in advance.
 
Old 02-16-2009, 03:31 AM   #2
thierrys
LQ Newbie
 
Registered: Feb 2009
Distribution: RedHat, Fedora, CentOS
Posts: 27

Rep: Reputation: 18
This tells you the rpm is already installed
you probably want to do rpm -qa| grep opencv to confirm whether a package is installed, it will return all instances and appropriate versions

then http://opencv.willowgarage.com/wiki/ should help regarding usage

disclaimer: i do not know opencv
 
Old 02-16-2009, 07:34 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
'rpm -ql opencv' prints a file list :
/usr/bin/opencv-createsamples
/usr/bin/opencv-haartraining
/usr/bin/opencv-performance
/usr/lib/libcv.so.1
etc. etc.
The documentation will tell ( hopefully ) how to use
the opencv program. ( See the link, # 2, thierrys.)

" opencv-1.0.0-1.el4.rf.i386.rpm " is a 'rpmforge' package
and will usually be installed with 'yum install opencv'
if you have the rpmforge repository in /etc/yum.repos.d/
( http://dag.wieers.com/rpm/FAQ.php#B )
.....

Quote:
package opencv-1.0.0-1.el4.rf.i386.rpm is not installed
The "rpm database package id" is not
'opencv-1.0.0-1.el4.rf.i386.rpm' but just 'opencv' or 'opencv-1.0.0-1.el5.rf'.
.....

Last edited by knudfl; 02-16-2009 at 11:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS-4 i386 (2.6.9-34.0.2.EL) (Red Hat 3.4.5-2) cp_almora09 Linux - Software 1 02-13-2009 12:26 PM
vim on CentOS Red Hat 5.2 BillKat Linux - Software 6 01-15-2009 10:25 AM
Red Hat i386 32 bit upgrade to Red Hat IA64 bit louisb Linux - Enterprise 4 10-08-2005 01:28 AM
glibc-2.2.4.i386.rpm (Red Hat 7.1) genoa Linux - Newbie 2 07-09-2003 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration