Raspberry Pi4 install on Raspberry OS


  • Hi, is it possible you could provide an installation procedure for the raspberry pi4 with raspberry OS and ARMv8 architecture? There is a version available on snap but it didn't work correctly. I am a beginner with Linux so any help would be appreciated.

    This music player is great, the perfect alternative to Windows media player for organising my music collection, if I can get it working on the Pi that will be all my various computers running it. Thanks!


  • It depends on what Linux distribution you run on it.
    You might need to compile yourself from source unless strawberry is available for arm in their repository.
    But it's pretty easy as long as you know what dependencies are required so you have the required development packages installed before you start.
    Instructions are here:
    openSUSE: https://github.com/strawberrymusicplayer/strawberry/wiki/Compiling-on-openSUSE
    Fedora: https://github.com/strawberrymusicplayer/strawberry/wiki/Compiling-on-Fedora
    Debian: https://github.com/strawberrymusicplayer/strawberry/wiki/Compiling-on-Debian
    Ubuntu: https://github.com/strawberrymusicplayer/strawberry/wiki/Compiling-on-Ubuntu
    Arch: https://github.com/strawberrymusicplayer/strawberry/wiki/Compiling-on-Arch

    Most of the other Debian based distros should work with either the debian or ubuntu guide.


  • @jonas thank you, I'll have a go over the weekend and see if I can get it running.


  • Two comments. First, almost anything is a better alternative to Windows Media Player. Ugh.

    Second, Raspberry Pi doesn't have many options for good music players unless you use some kind of specialized OS designed just for media. I know this because I just spent several days trying everything in the repo. In the end, I landed on installing Exaile from source. I'll be curious to hear how difficult it is to compile Strawberry from source on an RPi.


  • I have Strawberry up and running on the Pi4 and it is lightening fast, much quicker than both my Ubuntu and Widows 10 versions and they are all working from the same library. Thank you jonas for pointing me to the compiling on debian, it worked perfect first time!

    bfris. Assuming you are running raspberry OS, Follow the instructions in

    Debian: https://github.com/strawberrymusicplayer/strawberry/wiki/Compiling-on-Debian

    jonas, posted it above. Make sure all the dependancies are installed first. I was completely blown away by how fast it is!!!!


  • Thanks @ash-pi. I can confirm that the "Compiling-on-Debian" instructions work very well on Raspberry Pi 4. It took a while to scan my library over wifi, but everything seems to work nicely.


  • I recently started using Strawberry on my RP 4. I'm running Manjaro ARM on it and Strawberry is in the software repository. It is running well right out of the box.


  • I can confirm that the Debian instructions also work to compile from source on a Pi 4 running the aarch64 beta of Raspberry Pi OS.


  • @jonas Hi Jonas, I have been running Strawberry just fine on several Pi's (Zero[with Pimoroni sound card], 3B, 4B) for a year now and love it. Even working with RPi OS64 (beta) and the new RPi 400.

    Since the new OS release (2 Dec 2020) it runs fine on units I have upgraded, but I cannot get the compile to run successfully on fresh download, even following the 'compiling-on-debian' guide notes.

    Any help much appreciated, as previously 🙂

    Thanks, DougB

    pi@KitchenPi:~/strawberry/build $ make -j$(nproc)
    [100%] Built target singlecoreapplication
    [100%] Built target gstmoodbar
    [100%] Built target singleapplication
    [100%] Built target tag
    [100%] Built target libstrawberry-common
    [100%] Built target libstrawberry-tagreader
    [100%] Built target strawberry-tagreader
    [100%] Built target strawberry_lib
    [100%] Linking CXX executable ../strawberry
    /usr/bin/ld: libstrawberry_lib.a(tagreaderclient.cpp.o): undefined reference to symbol '__atomic_fetch_add_8@@LIBATOMIC_1.0'
    /usr/bin/ld: //lib/arm-linux-gnueabihf/libatomic.so.1: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/CMakeFiles/strawberry.dir/build.make:109: strawberry] Error 1
    make[1]: *** [CMakeFiles/Makefile2:373: src/CMakeFiles/strawberry.dir/all] Error 2
    make: *** [Makefile:130: all] Error 2
    
    

  • @dougb said in Raspberry Pi4 install on Raspberry OS:

    undefined reference to symbol '__atomic_fetch_add_8@@LIBATOMIC_1.0'

    try:

    export LDFLAGS='-latomic'
    

    then delete everything in the build directory and do cmake .. && make again


  • @jonas Wow, thanks for the prompt reply. I'll try shortly, is the 'export' comand from the bash prompt? (apologies for my naivety!)

    [Currently running off an 'old' install on my Raspi 400 / 64 bit beta listening to Paradise Radio 🙂 ]


  • @dougb Yes


  • @jonas Yes, indeed. Thanks, all compiled just fine and playing nicely now as I write this. So appreciated, thank you again!.

    I notice dsun above saying 'I'm running Manjaro ARM on it and Strawberry is in the software repository.' How do we get Raspberry Pi OS to include it too? - Strawberry is so much better than VLC for music. Nicer UI, album covers, remembers playlists etc etc. It would be a real 'plus' for the RPi community.