Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to install libboost_version1.59 or newer on Ubuntu16.04

Writer Matthew Harrington

How can I install libboost1.59 ?

I have tried many methods to install it, but fail to update the version 1.58 on my Ubuntu 16.04 to the version 1.59.

I tried this and this on StackOverflow, this on linuxfromscratch.org and this blog post

Who can give me an effective method?

2

1 Answer

To get the latest go to boost on SourceForge, then:

  1. Download and extract with tar -xf boost_X_XX_X.tar.gz where XX is the version number, like tar -xf boost_1_62_0.tar.gz.

  2. cd boost_X_XX_X

  3. Get required libraries:

     sudo apt-get update && sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev libboost-all-dev
  4. Build with: ./bootstrap.sh --prefix=/usr/local

  5. Install with: sudo ./b2 install

Please note you can also get the version currently on your version of Ubuntu can be gotten at the libboost-dev package page on UbuntuUpdates.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy