docs: minor update on permission requirements

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2017-09-22 17:08:28 -07:00
parent e22f62f948
commit 3b8f215590
2 changed files with 9 additions and 4 deletions

View File

@ -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:

View File

@ -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)