1Fedora Installation Guide
2-----
3Update everything...
4```
5# yum update
6```
7Install the toolchain and pre-requisites, if necessary:
8```
9# yum install make automake gcc gcc-c++ kernel-devel
10# yum install alsa-lib-devel autoconf automake avahi-devel libconfig-devel \
11    libdaemon-devel openssl-devel popt-devel soxr-devel rpmbuild
12```
13Download the tarball from the "releases" tab on github or use `wget` and then use `rpmbuild`. Alternatively, download a tarball of the `master` branch, as in this example:
14```
15$ wget -O shairport-sync-master.tar.gz https://github.com/mikebrady/shairport-sync/archive/master.tar.gz
16$ rpmbuild -ta shairport-sync-master.tar.gz
17```
18The `-ta` means "build all from this tarball".
19
20The RPM will be built in a directory and will have a pathname like, for example, `~/rpmbuild/RPMS/i686/shairport-sync-2.6-1.fc22.i686.rpm` You should then install it with (for this example):
21```
22$ sudo rpm -i ~/rpmbuild/RPMS/i686/shairport-sync-2.6-1.fc22.i686.rpm
23```
24You may have to manually create the directory `/var/shairport-sync` beforehand for the installation to succeed. Having edited the configuration file `/etc/shairport-sync.conf` as appropriate (see [Configuring Shairport Sync](https://github.com/mikebrady/shairport-sync/blob/master/README.md#configuring-shairport-sync)), enable and start the service with:
25```
26# systemctl enable shairport-sync.service
27# systemctl start shairport-sync.service
28```
29