Operators tend to come and go as we struggle to support them, and we apologize for that. Maybe the one you want works better in an older version: read the release notes.
These scripts should work on the current Debian, Ubuntu, and other Debian derivatives.
We would welcome similar installation scripts for other platforms. Copy this in a dash/bash shell (and enter your password when prompted):yes | sudo apt-get install g++ libgmp3-dev libmpfr-dev libfplll-dev libxml2-dev bison libmpfi-dev flex cmake libboost-all-dev libgsl0-dev && wget https://gforge.inria.fr/frs/download.php/33151/sollya-4.1.tar.gz && tar xzf sollya-4.1.tar.gz && cd sollya-4.1/ && ./configure && make -j4 && sudo make install && cd .. && wget https://gforge.inria.fr/frs/download.php/file/35449/flopoco-4.0.beta0.tgz && tar xzf flopoco-4.0.beta0.tgz && cd flopoco-4.0.beta0/ && cmake . && make -j4 && ./flopoco && ./flopoco BuildHTMLDoc
Once the above line has installed all the dependencies, you may also live on the edge and compile the git version available from the source code repository
In addition, enable bash autocompletion by typing ./flopoco BuildAutocomplete and following the instructions
yes | sudo apt-get install g++ libgmp3-dev libmpfr-dev libxml2-dev bison libmpfi-dev flex cmake libboost-all-dev libgsl0-dev && wget https://gforge.inria.fr/frs/download.php/file/34429/libfplll-3.0.12.tar.gz && tar xzf libfplll-3.0.12.tar.gz && cd libfplll-3.0.12/ && ./configure && make -j2 && sudo make install && cd .. && wget https://gforge.inria.fr/frs/download.php/28571/sollya-3.0.tar.gz && tar xzf sollya-3.0.tar.gz && cd sollya-3.0/ && ./configure && make -j4 && sudo make install && cd .. && wget https://gforge.inria.fr/frs/download.php/file/32591/flopoco-2.5.0.tgz && tar xzf flopoco-2.5.0.tgz && cd flopoco-2.5.0/ && cmake . && make -j4 && ./flopoco
yes | sudo apt-get install g++ libgmp3-dev libmpfr-dev libxml2-dev bison libmpfi-dev flex cmake libboost-all-dev libgsl0-dev && wget https://gforge.inria.fr/frs/download.php/file/34429/libfplll-3.0.12.tar.gz && tar xzf libfplll-3.0.12.tar.gz && cd libfplll-3.0.12/ && ./configure && make -j2 && sudo make install && cd .. && wget https://gforge.inria.fr/frs/download.php/28571/sollya-3.0.tar.gz && tar xzf sollya-3.0.tar.gz && cd sollya-3.0/ && ./configure && make -j4 && sudo make install && cd .. && wget https://gforge.inria.fr/frs/download.php/file/35206/flopoco-2.3.2.tgz && tar xzf flopoco-2.3.2.tgz && cd flopoco-2.3.2/ && cmake . && make -j4 && ./flopoco
FloPoCo may be compiled either using CMake or the autotools. The recommended way is CMake, which is available for most Unix and Linux distributions and for Windows. If you prefer to use the autotools read the README.autotools file.
CMake is included in mainstream Linux/Unix distributions, and is available for other operating systems, including Windows.
FloPoCo also depends on the MPFR library, on the C++ interface to GMP (which may or may not be a dependency of MPFR) and on flex++, all of which are probably available in your favourite Linux/Unix distribution.
You really want to link FloPoCo against Sollya. Most advanced operators depend on it, to the point that we don't check anymore that FloPoCo compiles without Sollya... For this purpose, you must download, compile and install Sollya.
Compilation is a two-step process:
cmake .
make
The adventurous may get the development version of FloPoCo from its source code repository.
Create a folder where you want to contain all the Vagrant files.
Open a command prompt and go into this folder. If you are using windows, you can quickly open a command prompt by holding down shift and right-clicking the project folder, then choose “open command window here”.
Now type the following commands :
vagrant init ubuntu/trusty32
vagrant up
The first time, it may take some time depending on your internet connection.sudo apt-get update
sudo apt-get upgrade
If a prompt asks you something, just press "y".