tar -xvf gmp-6.2.0.tar.xz
cd gmp-6.2.0
./configure --prefix=/path/to/GMP --enable-cxx
make -j && make install