Install
Instructions are for installing the C/C++ shared, static libraries and headers on your system.
Latest release is 0.6.4 on Github
For python users, see instead ta-lib-python
Windows
Executable Installer (recommended)
-
Download latest ta-lib-0.6.4-windows-x86_64.msi
-
Run the Installer:
- Double-click the downloaded
.msi
file. - Follow the on-screen instructions.
To update, just repeat the installation (older version is automatically uninstalled).
If you choose to uninstall, us the Add/Remove Apps in windows settings.
- Double-click the downloaded
If you prefer a non-interactive installation, you can use msiexec from the command line.
Windows Binaries
Use the .zip packages when you prefer to get the libraries without installing (e.g. to embed the TA-Lib binaries in your own installer).
Platform | Download |
---|---|
Intel/AMD 64-bits | ta-lib-0.6.4-windows-x86_64.zip |
Intel/AMD 32-bits | ta-lib-0.6.4-windows-x86_32.zip |
ARM64 | Not yet available. |
Windows Build from Source
Install VSCode 2022 community and do:
C:\ta-lib> "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
C:\ta-lib> mkdir build
C:\ta-lib> cd build
C:\ta-lib\build> cmake ..
C:\ta-lib\build> cmake --build .
vcvarsall.bat
command depending on your VSCode installation and platform.
macOS
macOS Homebrew (recommended)
See the homebrew formula for the latest supported release and platforms.
macOS Build from Source
Ensure you have the required dependencies: brew install automake && brew install libtool
-
Download latest ta-lib-0.6.4-src.tar.gz (or, alternatively, clone down https://github.com/ta-lib/ta-lib/ and checkout the main branch)
-
Extract the Tarball if you downloaded the source manually:
-
Build and Install:
chmod +x autogen.sh # ensure the permissions are set to generate the configure file ./autogen.sh # generate the configure file ./configure make sudo make install
Follow the same procedure for an update (the older version is overwritten, no need to uninstall).
If you choose to uninstall do:
Linux
Linux Debian Packages
Recommended for all debian-based distributions (e.g. Ubuntu, Mint...)
-
Download the
.deb
package matching your platform:Platform Download Intel/AMD 64-bits ta-lib_0.6.4_amd64.deb ARM64 (e.g. Raspberry Pi) ta-lib_0.6.4_arm64.deb Intel/AMD 32-bits ta-lib_0.6.4_i386.deb -
Install or Update:
If you choose to uninstall do:
Linux Build from Source
-
Download latest ta-lib-0.6.4-src.tar.gz (or, alternatively, clone down https://github.com/ta-lib/ta-lib/ and checkout the main branch)
-
Extract the Tarball if you downloaded the source manually:
-
Build and Install:
Follow the same procedure for an update (the older version is overwritten, no need to uninstall).
If you choose to uninstall do: