To install ta-lib on Rocky Linux 9, you can follow these steps:
-
Enable the EPEL (Extra Packages for Enterprise Linux) repository by running the following command:
sudo dnf install epel-release
-
Install the ta-lib dependencies by running the following command:
sudo dnf install gcc-c++ make python3-devel numpy
-
Download the ta-lib source code from the official website. You can use the following command to download the source code:
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
-
Extract the source code by running the following command:
tar -xvf ta-lib-0.4.0-src.tar.gz
-
Navigate to the extracted ta-lib directory by running the following command:
cd ta-lib
-
Build and install ta-lib by running the following commands:
./configure --prefix=/usr make sudo make install
-
Verify the installation by running the following command:
python3 -c "import talib; print(talib.__version__)"
This should output the installed version of ta-lib.
That's it! ta-lib should now be installed on your Rocky Linux 9 system.
If you are looking for consultation, fill the Contact Form below.
Your most unhappy customers are your greatest source of learning.
Haluk YAMANER
Founder @ Future Software UAE
Founder @ Future Linux
Click here for more about me »