Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Install the latest boost centos 5.5

How can I install the latest boost in centos 5.5? Like what commands.

Thanks!

share|improve this question

migrated from stackoverflow.com Nov 22 '10 at 2:16

This question came from our site for professional and enthusiast programmers.

marked as duplicate by mrdenny Nov 22 '11 at 12:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
What version of boost is available in the repos (yum info libbost) and what version do you want? –  Andrew M. Nov 22 '10 at 3:40

1 Answer 1

up vote 0 down vote accepted

Try running something like this (from terminal and via sudo or su of course):

yum install libboost libboost-dev

or

yum install boost boost-devel boost-doc

And anytime you can download boost sources and perform

./configure && make && sudo make install

share|improve this answer
    
This will work, but be warned--if there are files placed on your system by sudo make install that are not in the original package, they will not be removed when you uninstall the original boost RPM. –  Andrew M. Nov 22 '10 at 3:41
    
Also be warned that installing Boost through yum will not provide the latest version of Boost as posed in the original question. Also, Boost uses bjam install, not ./configure && make && sudo make install. –  Brian Cline May 1 '11 at 19:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.