Giter Club home page Giter Club logo

Comments (3)

szabgab avatar szabgab commented on July 20, 2024

As I just found out on Ubuntu that would be installing libgmp-dev libmpfr-dev

from math-mpfr.

sisyphus avatar sisyphus commented on July 20, 2024

I actually don't know much about installing vendor-supplied gmp and mpfr libraries.
On Ubuntu, Debian, FreeBSD and Windows (both native Windows and Cygwin) I always build the gmp and mpfr libraries directly from source.
I don't have access to systems other than those I've just specified.

I agree that it would be an improvement to do as you've suggested - and I'll happily insert that information into the beginning of the README as it comes to light. (Or is there somewhere else that it should be published ?)

I take it that on Ubuntu, the full commands are:

sudo apt-get install libgmp-dev
sudo apt-get install libmpfr-dev

I guess that the latter command would also install gmp if it wasn't already installed, but it probably doesn't hurt to provide both commands anyway.
According to what google tells me, on freebsd one would run (with suitable permissions) :

pkg install math/gmp
or
pkg install gmp

and (for the mpfr library):

pkg install math/mpfr
or
pkg install mpfr

With Cygwin, one could use the (gui) setup.exe. I don't know if there's a command line alternative.
And for native Windows, MSYS2's pacman would probably install suitable gmp and mpfr libraries - but that would, I think, require that MSYS2 was already installed.

Not sure about Debian ... is that going to be 'apt-get' or just plain 'apt' ? Are there some Debian systems set up to use 'yum' instead ?

Cheers,
Rob

from math-mpfr.

szabgab avatar szabgab commented on July 20, 2024

Yeah, I think the README would be a great location. Both for vendor provided packages - where you have this information - and compile-from-source instructions. I assume Debian is the same as Ubuntu.

I sent PR #8 where I included the Ubuntu version. If you like and accept that, later we can figure out how to set up jobs with various other configurations.

GitHub Actions currently support Ubuntu, OSX, Windows, and I think any Docker container.

from math-mpfr.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.