Clone the repository in your chosen directory. In a new terminal:
```
```bash
cd <your/path>
git clone <repo-link>
```
Clone the RTKLIB lib as a sub-module:
```
```bash
git submodule update --init
```
Create a directory to build all the source files:
```
$ mkdir build
$ cd build
```bash
mkdir build
cd build
```
Compile the source files:
```bash
cmake ..
make
```
Install the library:
```bash
make install
```
## Installation in local folder
With the previous steps, the library will be stored in `CMAKE_PREFIX_PATH` that usually is `/usr/local`. If you want to install the library in a local folder (avoiding sudo permissions), you can add these lines in your `.bashrc` file:
```bash
export WOLF_PREFIX=/your/local/installation/path # To be substituted by your desired installation path