I want to install boost-devel 1.59 in centos7, but the default repo has only 1.53, so I have to compile it from the source code.
I have download 1.59 from web page, and use ./bootstrap.sh and ./b2 install to install the boost 1.59.
But when I want install other packages such as CGAL-devel, it tells me that I donnot install boost-devel 1.59, so I wonder how to install boost-devel?
Thanks.
Download Boost Library from:
https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
Unzip, Bootstrap and Install
tar -xzf boost_1_76_0.tar.gz
cd boost_1_76_0
./bootstrap.sh --prefix=/opt/boost
./b2 install --prefix=/opt/boost --with=all
Got boost 1.59 version installed in CentOS 7 with the below commands:
sudo wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
Download the lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm from the below link: ftp://fr2.rpmfind.net/linux/Mandriva/official/2010.0/x86_64/media/main/release/lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm
Install the RPM:
sudo rpm -ivh lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm
Install the required boost library version:
sudo yum install boost-devel
That's it. Have a great day!
rpm link: https://www.rpmfind.net/linux/rpm2html/search.php?query=libicuuc.so.42()(64bit)
I was able to install it on CentOS 6.7. Not sure is it possible to install CentOS 6 packages to CentOS 7.
I found the solution in this blog post: http://vicendominguez.blogspot.com/2014/04/boost-c-library-rpm-packages-for-centos.html
Try to install boost from this repo: http://repo.enetres.net/enetres.repo
sudo wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
sudo yum install boost-devel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With