# PlexAmp-installer for Raspberry Pi with ARM64 HW

**URL:** <https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982>\
**Category:** Plex Players\
**Tags:** plexamp\
**Created:** [May 8, 2022, 1:46am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982 "2022-05-08T01:46:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [May 8, 2022, 1:46am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/1 "2022-05-08T01:46:15Z")

</div>

Check github page for version currently installed using the script.

Hi!  
Have created a bash for installing the Plexamp headless running on the Raspberry Pi! It does the full installation on a fresh setup of Raspbian OS 64-bit! Only thing you need is the post-login on web, and enabling of the service!

Follow the guide here:

> <https://github.com/odinb/bash-plexamp-installer/blob/main/README.md>

…and let me know any issues/improvements/questions you might have!

Have fun!

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [May 8, 2022, 1:59am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/2 "2022-05-08T01:59:35Z")

</div>

Nice!

Not sure what ARMv7 and ARMv8 refer to, you need ARM64 or AARCH64 or whatever it’s called 😅

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [May 8, 2022, 2:02am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/3 "2022-05-08T02:02:13Z")

</div>

Updated!

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [May 8, 2022, 4:45am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/4 "2022-05-08T04:45:58Z")

</div>

Sorry my ignorance, but does it install plexamp player? How do you use it?

---

<div class="post-metadata">

**Author:** ![TimCecil](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@TimCecil](https://forums.plex.tv/u/TimCecil)\
**Post date:** [May 8, 2022, 7:19am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/5 "2022-05-08T07:19:02Z")

</div>

I noticed in the script on line 334 you’re pulling the original version instead of the latest beta version. [https://plexamp.plex.tv/headless/Plexamp-Linux-arm64-v4.2.2-beta.3.tar.bz2](https://plexamp.plex.tv/headless/Plexamp-Linux-arm64-v4.2.2-beta.3.tar.bz2)

@elan In addition to the individual version links you’ve been posting, Would it be possible for us to get a link that always pulled the latest version of the software so the script doesn’t have to be updated every time?

---

<div class="post-metadata">

**Author:** ![TimCecil](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@TimCecil](https://forums.plex.tv/u/TimCecil)\
**Post date:** [May 8, 2022, 7:22am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/6 "2022-05-08T07:22:00Z")

</div>

It installs a headless version (eg without a monitor) of plexamp on a raspberry pi to make it a streaming endpoint for plexamp. Kind of like a custom Chromecast audio.

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [May 8, 2022, 7:35am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/7 "2022-05-08T07:35:27Z")

</div>

> [@TimCecil](#):
>
> Would it be possible for us to get a link that always pulled the latest version of the software so the script doesn’t have to be updated every time?

At some point, yeah. Right now we’re fast & furious.

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [May 8, 2022, 2:07pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/8 "2022-05-08T14:07:27Z")

</div>

Script updated to pull beta 3 now! Elan threw in a curveball by modifying the service-script, so having a link to latest might not always work!

Test-installed on one of my 4 rPi PlexAmp-pifi-digi+ machines, playing now. Will upgrade the rest later today!

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [May 8, 2022, 5:40pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/9 "2022-05-08T17:40:56Z")

</div>

I see. Thank you for the answer

---

<div class="post-metadata">

**Author:** ![Tony\_T](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tony_t/32/311528_2.png) [@Tony\_T](https://forums.plex.tv/u/Tony_T)\
**Post date:** [May 8, 2022, 8:05pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/10 "2022-05-08T20:05:29Z")

</div>

Its also possible to set up the user without the rPi “wizard”

See: [An update to Raspberry Pi OS Bullseye - Raspberry Pi](https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/)

“There are also mechanisms to preconfigure an image without using Imager. To set up a user on first boot and bypass the wizard completely, create a file called **userconf** or **userconf.txt** in the boot partition of the SD card; this is the part of the SD card which can be seen when it is mounted in a Windows or MacOS computer.

This file should contain a single line of text, consisting of **username:encrypted- password** – so your desired username, followed immediately by a colon, followed immediately by an encrypted representation of the password you want to use.

To generate the encrypted password, the easiest way is to use OpenSSL on a Raspberry Pi that is already running – open a terminal window and enter

echo ‘mypassword’ | openssl passwd -6 -stdin

This will produce what looks like a string of random characters, which is actually an encrypted version of the supplied password.”

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [May 9, 2022, 4:32am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/11 "2022-05-09T04:32:13Z")

</div>

Yup, correct, git updated.

---

<div class="post-metadata">

**Author:** ![mattkoop](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mattkoop](https://forums.plex.tv/u/mattkoop)\
**Post date:** [June 17, 2022, 2:06am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/12 "2022-06-17T02:06:47Z")

</div>

hi Odinb1,

It took a while - but my Pi finally arrived. ran through your script - and have the following error

pi@PlexPiFamilyRoom:~ $ node /home/pi/plexamp/js/index.js  
internal/modules/cjs/loader.js:1057  
return process.dlopen(module, path.toNamespacedPath(filename));  
^

Error: /home/pi/plexamp/treble/treble.node: wrong ELF class: ELFCLASS64  
at Object.Module.\_extensions…node (internal/modules/cjs/loader.js:1057:18)  
at Module.load (internal/modules/cjs/loader.js:863:32)  
at Function.Module.\_load (internal/modules/cjs/loader.js:708:14)  
at Module.require (internal/modules/cjs/loader.js:887:19)  
at require (internal/modules/cjs/helpers.js:74:18)  
at Object.41673 (/home/pi/plexamp/js/index.js:2:332509)  
at a (/home/pi/plexamp/js/index.js:2:2015750)  
at Object.65631 (/home/pi/plexamp/js/index.js:2:327124)  
at a (/home/pi/plexamp/js/index.js:2:2015750)  
at Object.10546 (/home/pi/plexamp/js/index.js:2:316525)

What should I be looking at? It is a standard Pi OS Bullseye - not modified, and just received today - I did run sudo apt update and sudo apt upgrade prior to running the script.

Many thanks if you can help me out on this one!

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [June 17, 2022, 2:17am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/13 "2022-06-17T02:17:56Z")

</div>

Use the 64-bit OS image from Raspbian, looks like you have a 32-bit one.

---

<div class="post-metadata">

**Author:** ![mattkoop](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mattkoop](https://forums.plex.tv/u/mattkoop)\
**Post date:** [June 17, 2022, 6:00am UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/14 "2022-06-17T06:00:56Z")

</div>

Thanks…

Newbie mistake 🙂

---

<div class="post-metadata">

**Author:** ![vuckozagi](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vuckozagi](https://forums.plex.tv/u/vuckozagi)\
**Post date:** [August 2, 2022, 2:59pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/15 "2022-08-02T14:59:20Z")

</div>

Any chance to get this script updated for 4.3?

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [August 2, 2022, 3:18pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/16 "2022-08-02T15:18:01Z")

</div>

Will be updated when the bug-update is released: [How to rename headless Player? - #17 by elan](https://forums.plex.tv/t/how-to-rename-headless-player/802841/17)

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [August 2, 2022, 6:47pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/17 "2022-08-02T18:47:23Z")

</div>

This script was terrific for my HiFiBerry DAC2 Pro on a Pi 4B.

When trying to debug the web player just spinning like you described on your github readme, I spent a long time reading up on ALSA and kernel modules, audio formats and the like. I figure the issues I’m having aren’t from the script, but what audio depth/rate that DACs will accept and the device PlexAmp is using to talk to the DAC, `hw` or maybe `plughw`

I did want to ask if you had any insight into which device is getting assigned and whether Plexamp stores that in a config file I can adjust or if your script does any adjustments besides the dt-overlay.

thanks!

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [August 2, 2022, 7:00pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/18 "2022-08-02T19:00:51Z")

</div>

The only thing my script does is to add the DAC/DIGI to the “/boot/config.txt” file to set it as default, unless you choose to configure HDMI as the default output. So, I only manipulate the dtoverlay, yes!

To choose audio-output via Plexamp, the Wiki has this in the post-install section (have not yet pondered into where this gets stored):  
"Once entered, the web-GUI should be available on the ip-of-plexamp-pi:32500 from a browser. On that GUI you will be asked to login to your Plex-acoount for security-reasons, and then choose a library where to fetch/stream music from.

Wherever possible, you should choose output device via the script (gets set in “/boot/config.txt”) when installing, to make it default system-wide. If you have audio-problems, or want to choose output after install, go to the web-GUI. Here the menu is found via: Settings (cogwheel lower right corner) \>\> Playback \>\> Audio output \>\> Audio Device. As an example, if you have chosen the “ Digi/Digi+“ option during install in the script, pick “Default” if the card is not showing, then reboot the pi. Now the card will show up in the list, and you can choose it!"

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [August 2, 2022, 7:31pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/19 "2022-08-02T19:31:26Z")

</div>

Thanks for the info about the config.txt. I was able to get a HiFiBerry DAC and a Topping D10s to work from my iPad by first using the web app and choosing the DAC by name, the way you said, and by using `systemctl` to restart the Plexamp service.

but I never got the web app to playback, no matter what I try. I never intend to use it, but still 🙂  
your script was a great read too, and helped me brush up on my shell. I can’t believe I was spawning a process to awk and cut things like a dinosaur.

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [August 2, 2022, 7:40pm UTC](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982/20 "2022-08-02T19:40:34Z")

</div>

Bash is old-school, but VERY powerful!

[Next page](https://forums.plex.tv/t/plexamp-installer-for-raspberry-pi-with-arm64-hw/791982.md?page=2)
