LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-07-2006, 11:20 PM   #1
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
installing a non debian packge


Hi

I am tying to install "numpy" a numeric package for python which isn't
available for debian/testing, I got the source unpacked it and it
looks like this

****************
:~$ cd numpy-0.9.6
:~/numpy-0.9.6$ ls
LICENSE.txt MANIFEST.in numpy PKG-INFO README.txt setup.py
****************************************************************

**************** in README.txt ****************
...
To install:

python setup.py install

The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can help the process with a site.cfg file.

If fast BLAS and LAPACK cannot be found, then a slower default version is used.
...
****************************************************************

does this mean I need to
$ apt-get install lapack blas

and what about site.cfg, what does that suppose to be/do/...?
does it matter what current working directory is when I issue the
command (python setup.py install)?

thanks a million
 
Old 05-08-2006, 05:29 AM   #2
jbogins
LQ Newbie
 
Registered: Nov 2003
Distribution: fedora core 1
Posts: 29

Rep: Reputation: 15
This package is available in Experimental:

http://packages.debian.org/experimen...n/python-numpy


Bit naughty using it on testing but I would do this:

Add this line to your /etc/apt/sources.list :
deb http://ftp.uk.debian.org/debian/ experimental main

then do:
apt-get update
apt-get install python2.3-numpy

Then I would remove the line above from your /etc/apt/sources.list

and run:
apt-get update


NOTE: Experimental packages are just that, use caution on production servers and workstations..
 
Old 05-08-2006, 04:46 PM   #3
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
thanks jbogins,
later then, how do I upgrade this package. do I add the line to sources.list and then issue
apt-get update
apt-get upgrade python2.3-numpy
remove the line from sources.list
apt-get update
???
 
Old 05-09-2006, 12:26 AM   #4
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jbogins
This package is available in Experimental:

http://packages.debian.org/experimen...n/python-numpy


Bit naughty using it on testing but I would do this:

Add this line to your /etc/apt/sources.list :
deb http://ftp.uk.debian.org/debian/ experimental main
...
Errhttp://ftp.uk.debian.org experimental/main Packages
404 Not Found

Failed to fetch http://ftp.uk.debian.org/debian/dist...86/Packages.gz 404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://ftp.uk.debian.org experimental/main Packages (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-i386_Packages) - stat (2 No such file or directory)
 
Old 05-09-2006, 12:41 AM   #5
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
# apt-get install python2.3-numpy
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
python2.3-numpy: Depends: atlas2-base but it is not installableor
atlas2 but it is not installable
E: Broken packages
**************************************************************************
**************************************************************************

wouldn't be better if I download the source and install it according to the package maintainer instruction as per my original post and install the pacakge in somewhere like "/usr/local/..." instead of going through all the pain above and still have an old version which may not work?
 
Old 05-09-2006, 02:59 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
What gives this:
Code:
apt-cache policy atlas2-base
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help on installing debian darkraider Debian 1 05-01-2005 02:24 AM
Installing Debian carlosinfl Debian 8 02-05-2005 02:02 AM
need help installing debian lenucks Debian 4 06-05-2004 10:59 AM
checking whether a packge is installed ludwig W Linux - General 5 05-06-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration