# readsb

## Install Automatically

To install `readsb` automatically by wiedehopf's installer script (an opinionated installer), open a terminal on your Raspberry Pi and type:

```
$ sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/readsb-install.sh)"
```

{% hint style="info" %}
Using super user via sudo is necessary to grant the permissions necessary to install the system package and service.
{% endhint %}

## Install from Source

### Install Dependencies

```
$ sudo apt-get install librtlsdr-dev
```

### Build the Source Code

```
$ git clone https://github.com/Mictronics/readsb.git
$ cd readsb
$ make RTLSDR=yes
$ sudo make install
```
