[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 getUnknown 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
andcat /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/ withwget
and then runopkg 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 foropkg
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 theUnknown 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 theopkg
configuration file/etc/opkg/distfeeds.conf
Once you have done aopkg update
the commandopkg 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