From 3b8f21559082d3c70d816c60e6ffbfb580a37625 Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Fri, 22 Sep 2017 17:08:28 -0700 Subject: [PATCH] docs: minor update on permission requirements Signed-off-by: Mihai Tudor Panu --- docs/building.md | 7 ++++++- docs/installing.md | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/building.md b/docs/building.md index 5817f954..ea59259a 100644 --- a/docs/building.md +++ b/docs/building.md @@ -34,7 +34,12 @@ make install The last command will create the include/ and lib/ directories with a copy of the headers and library objects respectively in your build location. Note that -doing an out-of-source build may cause issues when rebuilding later on. +doing an out-of-source build may cause issues when rebuilding later on. In many +cases you'll need elevated permissions to install: + +~~~~~~~~~~~~~{.sh} +sudo make install +~~~~~~~~~~~~~ Our cmake configure has a number of options, *cmake-gui* or *ccmake* can show you all the options. The interesting ones are detailed below: diff --git a/docs/installing.md b/docs/installing.md index c88874b9..557564b6 100644 --- a/docs/installing.md +++ b/docs/installing.md @@ -48,11 +48,11 @@ To install: ```bash sudo add-apt-repository ppa:mraa/mraa sudo apt-get update -sudo apt-get install libupm-dev python-upm python3-upm upm-examples +sudo apt-get install libupm-dev libupm-java python-upm python3-upm node-upm upm-examples ``` -Note that the Ubuntu PPA only provides the C/C++ and Python packages. Node.js -developers will have to install MRAA and UPM using NPM instead. +Running UPM applications on Ubuntu systems requires elevated permissions +(e.g. run with `sudo`). ### Node.js bindings only (NPM)