Update README with Ubuntu setup instructions
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
6999ea7150
commit
19c5837aea
1 changed files with 16 additions and 3 deletions
19
README.md
19
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
|
||||
|
|
Loading…
Reference in a new issue