From 19c5837aea01b42a178869347bb366dc08bf3fe1 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 13 Jun 2020 09:49:29 -0700 Subject: [PATCH] Update README with Ubuntu setup instructions Signed-off-by: William Brawner --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fa2e49d..273bcf0 100644 --- a/README.md +++ b/README.md @@ -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