# Install OpenBLAS from source

#### openblas machine learning

In this guide, we will walk you through the installation steps of OpenBLAS in three simple steps.

OpenBLAS is an open source optimized BLAS (Basic Linear Algebra Subprograms) library based on GotoBLAS2 1.13 BSD version.

You need to clone the source code of OpenBLAS to your local workspace using the following command:


git clone https://github.com/xianyi/OpenBLAS.git
cd OpenBLAS


### Build and prepare OpenBLAS

As the next step, you need to build the source of OpenMP using the following command:


make -j4


### Install OpenBLAS

You need to install OpenBLAS and get the shared library:


make install


If you want the shared library to a particular location (say <path_to_your_destination>), then replace "make install" by:


make PREFIX=<path_to_your_destination> install


### Enjoy the power of parallel execution, you have install OpenBLAS

#### OpenGenus Foundation

The official account of OpenGenus IQ