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

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

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest