[Resolved] Howto install madplay



  • Hello and how are you Onion Community,

    I would like to install "madplay" or "mpd" on my Omega.

    On opkg install madplay I get

    Unknown package 'madplay'.
    Collected errors:

    • opkg_install_cmd: Cannot install package madplay.

    I searched through the forum and found that some people managed to do it.

    Running Ω-ware: 0.1.1 b308 and the usb audio adapter seems to work out-of-the-box, as it is visible with lsusb and cat /proc/asound/cards

    Thanks in advance for your help.

    Edit:
    I just downloaded the precompiled packages that where needed (besides madplay - libid3tag and libmad) from https://downloads.openwrt.org/latest/ar71xx/generic/packages/packages/ with wget and then run opkg install {filename.ipk}

    As I assume I need to setup a Cross Compile Environment (https://github.com/OnionIoT/OpenWRT-Packages/wiki/Setting-Up-the-Cross-Compile-Environment) to compile my own builds and then just simply download them to the Omega and install. Or alternatively I could use the cloud compile.



  • @Christoph-Zembrowski Did you perform an opkg update since you last rebooted your Omega.
    The list of available packages for opkg is help in temporary storage and is lost over a re-boot so cannot be found until you update the list.
    Until the list is updated, you will get the Unknown package ... message for any package you try to install.
    Once a package is installed it will be available over a re-boot.



  • Thanks @Kit-Bishop. That's the advice, that I was looking for. I did indeed a reboot after opkg update

    As I understand I can install all packages available at https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/



  • @Christoph-Zembrowski Yes, I believe that is one of the repositories that opkg consults.
    Along with two others it is listed in the opkg configuration file /etc/opkg/distfeeds.conf
    Once you have done a opkg update the command opkg list will list all packages available from all known feeds
    Additionally, if you have obtained a ???.ipk file for a package and copied it to your Omega, you can install it using:

    • opkg install <path to .ipk file>

    though you may possibly need to take care yourself of any other packages it may depend on


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.