Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (49 loc) · 2.47 KB

INSTALL.md

File metadata and controls

68 lines (49 loc) · 2.47 KB

Installation

AirSonos requires node.js v0.10.x installed to run. (Progress for 0.11.x support here)

Install via npm

$ npm install airsonos -g

Install latest via source

$ git clone https://github.com/stephen/airsonos.git
$ cd airsonos
$ npm install -g

Platform Specific Instructions

Some non-OS X platforms require additional dependencies or steps to work.

Linux

On linux machines, there are dependencies for libavahi-compat-libdnssd-dev libasound2-dev packages (or equivalent). On distributions with apt...

$ sudo apt-get install libavahi-compat-libdnssd-dev libasound2-dev

for yum-based distros (CentOS/RHEL):

$ yum install avahi avahi-compat-libdns_sd avahi-compat-libdns_sd-devel

Note that for some distributions, nodejs must be symlinked to node prior to install.

Synology

See: #22

Raspberry Pi

You will likely need to overclock your raspberry pi to achieve acceptable performance. (Working on making this suck less.)

Windows

There is a pre-packaged Windows install that you can use.

  • Ensure that 32-bit node.js (version 0.10.33, 32-bit) is installed.
  • Download and Install the Bonjour for Windows SDK (requires an AppleID)
  • Download airsonos_windows_x86.zip
  • Create the folder C:\Users\username\AppData\Roaming\npm if it doesn't already exist.
  • Unzip the contents of this package at C:\Users\username\AppData\Roaming\npm\, so that airsonos and airsonos.cmd are directly inside the \npm\ folder.
  • Open a command prompt and type where airsonos. The output should look something like:
C:\Users\stephen>where airsonos
C:\Users\stephen\AppData\Roaming\npm\airsonos
C:\Users\stephen\AppData\Roaming\npm\airsonos.cmd
  • Type airsonos to run.

Building from source on Windows is not recommended.

Please report issues for this pre-packaged Windows installer here: #59