Skip to content

Instantly share code, notes, and snippets.

@lionelyoung
Created March 30, 2020 15:19
Show Gist options
  • Save lionelyoung/61adca4d6efc7cd4334108e46fbf72bd to your computer and use it in GitHub Desktop.
Save lionelyoung/61adca4d6efc7cd4334108e46fbf72bd to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Download ta-lib-0.4.0-src.tar.gz and:
if [[ ! -f "ta-lib-0.4.0-src.tar.gz" ]]; then
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
fi
# untar and cd
if [[ ! -d "ta-lib" ]]; then
tar xvf ta-lib-0.4.0-src.tar.gz
fi
cd ta-lib || exit 1
./configure --prefix=/usr
make
echo "Run: cd ta-lib && sudo make install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment