LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to find out prerequisites are installed or not (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-out-prerequisites-are-installed-or-not-871383/)

nishitmukesh 03-28-2011 01:41 AM

how to find out prerequisites are installed or not
 
im trying to install cclive, in its INSTALL file they have given some prerequisites, how can i find out those are installed in my centos or not.

Prerequisites for cclive are given below

* libquvi (0.2.0+)
* libboost (1.42.0+)
* libpcrecpp (8.02+)
* libcurl (7.20.0+)

quanta 03-28-2011 01:45 AM

Depend on which distro you are using.

nishitmukesh 03-28-2011 02:00 AM

Quote:

Originally Posted by quanta (Post 4305848)
Depend on which distro you are using.

how can find out my distro

nishitmukesh 03-28-2011 02:02 AM

this is my distro
CentOS release 5.5 (Final)

quanta 03-28-2011 02:03 AM

Code:

rpm -qa | grep boost

chrism01 03-28-2011 02:05 AM

Actually, the OP mentioned Centos, so
Code:

rpm -qa|egrep -e libquvi -e  libboost -e  libpcrecpp -e libcurl

John VV 03-28-2011 03:59 AM

you can also use yum ( though JUST to check rpm is quicker)

Code:

su -
yum search boost
--- or ---
yum info boost

if it is installed it will be noted
Code:

su -
yum search libquvi
-- if there --
yum install libquvi


quanta 03-28-2011 05:15 AM

Or:
Code:

find / -name "libboost*"
locate libboost
...

if someone compiled it from source code.


All times are GMT -5. The time now is 01:39 AM.