I’ve received a linux-yocto box. I now I’m trying to installing some software, on ubuntu I use apt-get but it seems not to work/installe. so I’ve tried yum same result. so my question is, is there a way to find out which package manager is install on my linux system ?
thanks in advance !
Advertisement
Answer
Yocto is using either rpm, dpkg, or opkg as the package manager. If the tools are installed on the image, which isn’t a requirement, then the binaries are either dnf
(or yum
if it is a really old release), apt-get
, or opkg
respectively.
There’s a reasonable chance that you’ve been given an image without a package manager or a working feed though. The joy of Yocto is that it is so flexible, so you should ask whoever gave you the software.