1

Is it possible to install pygsl in Debian? I am using the package and someone with Debian is not sure how to install it without ruining his packaging (since it's not in apt-get.)

Neil G
  • 32,138
  • 39
  • 156
  • 257

1 Answers1

4

You should just be able to do a local install. /usr/local is the usual place to put it in.

$ python setup.py build
$ python setup.py -n install --prefix=/usr/local

This ended with an error

error: file '/usr/local/lib/python2.6/dist-packages/pygsl/matrix_pierre.py' does not exist

but maybe you'll be able to figure it out. Tested on Debian squeeze.

IMPORTANT: run this as user, not root. That way it can't install to your system directory if the install is screwed up.

The library should install in usr/local/lib/python2.6/ (or whatever your default python version is).

Regards.

Faheem Mitha
  • 6,096
  • 7
  • 48
  • 83