]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update FEDORA.md
authorMike Brady <mikebrady@eircom.net>
Thu, 16 May 2019 16:41:31 +0000 (17:41 +0100)
committerGitHub <noreply@github.com>
Thu, 16 May 2019 16:41:31 +0000 (17:41 +0100)
FEDORA.md

index ae581cbe7dc046a6d7d836c7ed0228ca853b9b28..bb57d58b3ab4a4cdfb48d8d30b6a4e41ec70e124 100644 (file)
--- a/FEDORA.md
+++ b/FEDORA.md
@@ -3,22 +3,22 @@ Fedora Installation Guide
 
 Install the toolchain and pre-requisites, if necessary:
 ```
-% sudo yum install make automake gcc gcc-c++ kernel-devel
-% sudo yum install alsa-lib-devel autoconf automake avahi-devel libconfig-devel libdaemon-devel openssl-devel popt-devel soxr-devel
+# yum install make automake gcc gcc-c++ kernel-devel
+# yum install alsa-lib-devel autoconf automake avahi-devel libconfig-devel libdaemon-devel openssl-devel popt-devel soxr-devel
 ```
 Download the tarball from the "releases" tab on github or use `wget` and then use `rpmbuild`. This example is for version 2.6:
 ```
-% wget -O shairport-sync-2.6.tar.gz https://github.com/mikebrady/shairport-sync/archive/2.6.tar.gz
-% rpmbuild -ta shairport-sync-2.6.tar.gz
+$ wget -O shairport-sync-2.6.tar.gz https://github.com/mikebrady/shairport-sync/archive/2.6.tar.gz
+$ rpmbuild -ta shairport-sync-2.6.tar.gz
 ```
 The `-ta` means "build all from this tarball".
 
 The 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):
 ```
-%sudo rpm -i ~/rpmbuild/RPMS/i686/shairport-sync-2.6-1.fc22.i686.rpm
+# rpm -i ~/rpmbuild/RPMS/i686/shairport-sync-2.6-1.fc22.i686.rpm
 ```
 You may have to manually create the directory `/var/shairport-sync` 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:
 ```
-%sudo systemctl enable shairport-sync.service
-%sudo systemctl start shairport-sync.service
+# systemctl enable shairport-sync.service
+# systemctl start shairport-sync.service
 ```