Install CGAL lib version 4.5.1

How do I specifically install CGAL lib 4.5.1 ?
Does sudo apt-get install libcgal-dev help?
I am using Ubuntu 14.04.I previously had CGAL 4.6.1 (which I removed) but I need CGAL 4.5.1.

1 Answer

To use version 4.5.1 in Trusty you have to compile it yourself

  • Install some development libraries

    sudo apt-get install libgmp-dev
    sudo apt-get install libmpfr-dev
  • Install a helper tool to create and install a deb package later

    sudo apt-get install checkinstall
  • Download and extract the source code

    mkdir -p ~/src
    cd ~/src
    wget
    tar xf CGAL-4.5.1.tar.gz
  • Build via

    cd CGAL-4.5.1
    cmake .
    make
  • Install

    sudo checkinstall
14

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

You Might Also Like