Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing ta-lib c library on Ubuntu #47

Closed
psmuts opened this issue Oct 29, 2013 · 4 comments
Closed

Installing ta-lib c library on Ubuntu #47

psmuts opened this issue Oct 29, 2013 · 4 comments

Comments

@psmuts
Copy link

psmuts commented Oct 29, 2013

Hi,

I can't seem to get this to work. I am a noob for sure. I have an ssh connection into my virtual machine and when I run sudo apt-get install http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz I get

'unable to locate package.' Sorry for such a newbie question but going crazy here.

Thanks,

Peter

@mrjbq7
Copy link
Collaborator

mrjbq7 commented Oct 29, 2013

I didn't think apt-get could install packages like that.

If its not available in your repositories (e.g., sudo apt-get install ta-lib or sudo apt-get install ta-lib-dev), then I would suggest the old fashioned way:

$ wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
$ tar xvfz ta-lib-0.4.0-src.tar.gz
$ cd ta-lib-0.4.0
$ ./configure
$ make
$ make install

That puts it into /usr/local I think, if you'd prefer /usr then do ./configure --prefix=/usr.

That help?

@psmuts
Copy link
Author

psmuts commented Oct 30, 2013

Worked. Thank you very much.

@timkofu
Copy link

timkofu commented Oct 6, 2017

Is there a .deb package available? I'm looking for one for heroku.

@kumkee
Copy link

kumkee commented Jul 6, 2020

That puts it into /usr/local I think, if you'd prefer /usr then do ./configure --prefix=/usr.

If I don't want to install ta-lib as root and ./configure --prefix=$HOME/env/, who do I pip install the wrapper then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants