Installation instructions ========================= Installation (for Mac OS X) --------------------------- Make sure you have brew installed and updated: http://brew.sh/. :: brew install lopter/lightsd/lightsd Or, :: brew tap lopter/lightsd brew install lightsd Make sure you execute the ``ln -sfv`` command displayed at the end of the installation: :: ln -sfv /usr/local/opt/lightsd/*.plist ~/Library/LaunchAgents Please, also install Python 3 and ipython if you want to follow the examples in the next section: :: brew install python3 pip3 install ipython Read on :doc:`/first-steps` to see how to use lightsd. Installation (for Arch Linux) ----------------------------- Make sure you have Yaourt installed: https://archlinux.fr/yaourt-en (`wiki page`_). :: yaourt -Sya lightsd Make sure to follow the post-installation instructions: replace ``$USER`` with the user you usually use. Please also install ipython if you want to follow the examples in the next section: :: yaourt -Sya ipython Read on :doc:`/first-steps` to see how to use lightsd. .. _wiki page: https://wiki.archlinux.org/index.php/Yaourt Installation (OpenWRT trunk) ---------------------------- If you're running `OpenWRT trunk`_ then, from your build root, just add lightsd's feed: :: cat >>feeds.conf`[ -f feeds.conf ] || echo .default` <