14
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

raspberryPi AirPlayインストール方法

Posted at

数十回もインストールして、洗練された方法です
raspberryPiを起動し、コマンドをそのままコピーぺすればできます。

必要なライブラリーインストール

sudo apt-get install  libao-dev libssl-dev git avahi-utils libwww-perl
sudo apt-get install libcrypt-openssl-rsa-perl libio-socket-inet6-perl  libmodule-build-perl

作業ティレクトリ作成

mkdir airplay-audio-project
cd airplay-audio-project

perlビルド

git clone https://github.com/njh/perl-net-sdp.git
cd perl-net-sdp
perl Build.PL
./Build
./Build test
sudo ./Build install
cd ..

shairplayインストール

git clone https://github.com/abrasive/shairport.git
cd shairport
make

#試しにairplay 立ち上げ

./shairport -a RaspberryPi

iphoneから検出できれば成功です

raspberry起動時自動airPlay立ち上げ設定

sudo make install
cd scripts/debian/init.d
sudo cp shairport /etc/init.d/shairport
sudo chmod +x /etc/init.d/shairport
sudo useradd -g audio shairport
sudo update-rc.d shairport defaults
sudo /etc/init.d/shairport start
14
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?