Skip to content
Advertisement

how do I know which package manager in installed on my linux [closed]

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.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement