Update README with Ubuntu setup instructions

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-06-13 09:49:29 -07:00
parent 6999ea7150
commit 19c5837aea

View file

@ -17,10 +17,21 @@ PiHelper is designed to be a simple, lightweight, portable client library for th
Include the `pihelper.h` file.
## Building
## Dependencies
PiHelper depends on cmake, curl, openssl, and json-c. On Fedora you can install the dependencies with the
following command:
PiHelper depends on cmake, curl, openssl, and json-c.
### Ubuntu Install Command
sudo apt install cmake \
make \
gcc \
g++ \
libcurl4-openssl-dev \
libssl-dev \
libjson-c-dev
### Fedora Install Command
sudo dnf install cmake \
make \
@ -30,6 +41,8 @@ following command:
openssl-devel \
json-c-devel
## Building
Once you have the dependencies installed, you can build the project with cmake:
mkdir build