Sharing step by step instructions for installing Audirvana Studio on a Raspberry Pi 4B board as I could not find them in this form
Hope this is helpful.
It is fairly simple and will most likely work the same for other versions of the Raspberry Pi board. The DAC in this case is a RME ADI-2 that is connected to the Pi with a USB cable to ensure maximum potential for transferring the highest quality of sounds. Audirvana will take care of connecting with Qobuz and then forwarding the bytes to the DAC, which will take care of the conversion to analogue sound. I decided to not use a HAT or anything similar. The Raspberry Pi board should have a minimum of 4GB RAM but for streaming only it might also work with less, just needs to be tried out and monitored. In this case the board has 8GB of RAM which is more than enough.
This might also work with the Raspberry Pi Lite OS as it is also Debian based but I did not try it.
== PREPARE DietPi minimal Linux ==
-
Download and install DietPi on a microSD, as described on their website: How to install DietPi - DietPi.com Docs. Use the xz file directly to flash with balenaEtcher, it unpacks it while doing so.
-
After the validation, the OS (in this case macOS) unmounts the microSD card. Add it back in to change some files before starting the OS on the Raspberry Pi. It is easier to change the files on a desktop than over SSH.
-
For Wifi configuration open dietpi-wifi.txt with a Text Editor, eg. TextEdit on macOS. Then add your Wifi SSID to aWIFI_SSID[0]=āā between the āā. Add the cleartext Wifi Password to aWIFI_KEY[0]=āā between āā. If the Wifi uses WPA-PSK, save and close the file. Otherwise change other configurations or add more Wifis according to your Wifi(s) configuration.
-
Open dietpi.txt in the same Text Editor. Change locale and timezone if you want, it is not mission critical. If you want Wifi only set AUTO_SETUP_NET_ETHERNET_ENABLED=0 and AUTO_SETUP_NET_WIFI_ENABLED=1, or another combination based on your preferences. Set AUTO_SETUP_NET_WIFI_COUNTRY_CODE to your country code, also not mission critical. Set AUTO_SETUP_NET_HOSTNAME to something a bit more audiophile, or leave it. AUTO_SETUP_HEADLESS=1 as there wonāt be any video streaming or HDMI usage in this case. This is the basics.
-
For login into the system over SSH and then later install Audirvana we will need a root password or a public key. Public key is preferred and much easier to use. Good examples for configuration of SSH on the laptop/ desktop with a public key can be found online. Add the generated pub key part to AUTO_SETUP_SSH_PUBKEY.
-
Set AUTO_SETUP_AUTOMATED=1 to automate installation of necessary software during first start-up this can also be done manually. Comment out AUTO_SETUP_GLOBAL_PASSWORD if SSH with a public key is used. Set SOFTWARE_DISABLE_SSH_PASSWORD_LOGINS=1 also in that case.
-
Change other things according to your own preferences and taste. I am sure there are more things that could be optimised.
-
Safe and close dietpi.txt
-
unmount the microSD and add it to your Raspberry Pi and start it up
== Finalise installation of DietPi OS and install Audirvana Studio ==
-
Download Audirvana audirvana-studio_X.X.X.X_arm64.deb from the Audirama website. It is the Debian one for ARM.
-
Make some tea and wait until dietpi installs und updates itself.
-
Log into the system with āssh root@CHOOSENNAMEā to check on it
-
Upload audirvana-studio_X.X.X.X_arm64.deb with ācat audirvana-studio_X.X.X.X_arm64.deb | ssh root@CHOOSENNAME 'cat - > audirvana-studio_X.X.X.X_arm64.debā ā
-
On the Raspberry Pi you should be in /root, the file should be there, check with āpwdā for location, and ālsā if the file is there
-
Install audirvana-studio_X.X.X.X_arm64.deb with āapt-get install -f /root/audirvana-studio_X.X.X.X_arm64.debā, ignore the warnings
-
Install Avahi-Daemon either over dietpi-software or with apt-get. This is necessary to run audirvana studio
-
Configure audirvana studio to start on start-up: /opt/audirvana/studio/setAsService.sh enable
-
Start it: /opt/audirvana/studio/setAsService.sh start
Now Audirvana Studio should be recognised with Audirvana Remote and be ready to be configured. The DAC will need some configs, eg. 0db PCM boost but that is personal taste and depends on the DAC and its configuration.
Sidenote: Yes, there is no ALSA installed or a sound card configured. In this case, this was not necessary to make it work as the sound card was connected over USB.
