mdickinson / bigfloat

Python wrapper for MPFR, providing high-precision floating-point arithmetic
GNU Lesser General Public License v3.0
41 stars 11 forks source link

Include shortcut APT command for installing prerequisites #67

Closed scdeploy closed 10 years ago

mdickinson commented 10 years ago

Thanks for this! By the way, what's the difference between libgmp3-dev and libgmp-dev? Are those different packages, or different ways to refer to the same package?

mdickinson commented 10 years ago

I've just installed ubuntu 14.04 LTS for testing purposes: I found that I also needed to do a sudo apt-get install python-dev for a Python 2 installation, though python3-dev seems to be already installed.

mdickinson commented 10 years ago

Experimenting a bit more, on a virgin Ubuntu 14.04 installation I found that the following was enough for a Python 2 install:

sudo apt-get install python-dev python-pip
sudo apt-get install libmpfr-dev
sudo pip install bigfloat

and similarly for a Python 3 install:

sudo apt-get install python3-dev python3-pip
sudo apt-get install libmpfr-dev
sudo pip3 install bigfloat

I'll add these instructions to the documentation.