-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Ronen Lapushner edited this page Mar 24, 2017
·
20 revisions
Debian binary packages are available since version 1.1.1. Head over to the Releases page to download them!
- Several development libraries must be installed in order to successfully compile
rpiweatherd
.
Note: User used here must be a sudoer. In Raspbian, for example, the pi user is a sudoer by default.
Distribution Name | Command to Install |
---|---|
Raspbian/Ubuntu | $ sudo apt-get install cmake python3 gcc make git libsqlite3-dev wiringpi |
Arch Linux ARM | $ sudo pacman -S cmake python gcc git make sqlite wiringpi lsb-release |
- Clone the repository.
$ git clone https://github.com/ronen25/rpiweatherd
- Create a
bin
directory, switch to it, and initiate compilation using CMake.
$ cd rpiweatherd
$ mkdir bin && cd bin
$ cmake -DCMAKE_BUILD_TYPE=RELEASE ..
$ make
- Finally, install the daemon:
$ sudo make install
-
Configure
rpiweatherd
according to the configuration guide. -
Run the program using the appropriate init tool, either as root or with
sudo
:
Distribution Name | Command |
---|---|
Raspbian <= 7/Ubuntu | # service start rpiweatherd |
Arch Linux ARM/Raspbian >= 8 | # systemctl enable rpiweatherd |
For more detailed information see Running the Daemon page.
NOTE: The administration script and the CLI client will not be installed! This is intended behavior.