stable/install_ta-lib.sh
2017-12-18 09:29:17 +02:00

9 lines
314 B
Bash
Executable File

if [ ! -d "ta-lib" ]; then
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib && ./configure && make && sudo make install && cd ..
else
echo "TA-lib already installed, skipping download and build."
cd ta-lib && sudo make install && cd ..
fi