How to install boost-devel 1.59 on CentOS7

I want to install boost-devel 1.59 in centos7, but the repo by default only has 1.53, so I have to compile it from the source code.

I have a download of 1.59 from a webpage and use. /bootstrap.sh and. / b2 to install boost 1.59.

But when I want to install other packages, such as CGAL-devel, it tells me that I do not install boost-devel 1.59, so I'm wondering how to install boost-devel?

Thanks.

+5
source share
2 answers

Get version 1.59 installed on CentOS 7 using the following commands:

sudo wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo 

Download lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm from the link below: ftp://fr2.rpmfind.net/linux/Mandriva/official/2010.0/x86_64/media/main/release/lib64icu42-4.2.1 -1mdv2010.0.x86_64.rpm

Install RPM:

 sudo rpm -ivh lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm 

Install the required version of the acceleration library:

 sudo yum install boost-devel 

What is it. Excellent day!

rpm link: https://www.rpmfind.net/linux/rpm2html/search.php?query=libicuuc.so.42()(64bit)

+5
source

I managed to install it on CentOS 6.7. Not sure if you can install CentOS 6 packages on CentOS 7.

I found a solution on this blog: http://vicendominguez.blogspot.com/2014/04/boost-c-library-rpm-packages-for-centos.html

Try installing 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 
+3
source

Source: https://habr.com/ru/post/1233394/


All Articles