Regarding to package manager installation and configuration in yocto project

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding to package manager installation and configuration in yocto project

696 Views
devendrasinghba
Contributor II

Hi All

Can anyone tell me how to install OPKG package manager in yocto build for imx6dlsabresd and imx6ulevk and how to configure opkg to install packages.

Thanks in Advance

Labels (3)
2 Replies

109 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Devendra Singh Baghel,

You would need to add the package classes for ipk. You may add this to the already existing PACKAGE_CLASSES variable in the local.conf file.

PACKAGE_CLASSES ?= "package_rpm package_ipk"

You would also need to add the package-management feature to the EXTRA_IMAGE_FEATURES variable.

EXTRA_IMAGE_FEATURES += " package-management"

And also the opkg recipe:

IMAGE_INSTALL_append = " opkg

These are the main packages required for OPKG. After this you would need to setup the repositories in order for OPKG to work.

I hope this helps!

Regards,

109 Views
atakanakbulut
Contributor II

Really nice.. Also if you want install dpkg apt-get apply this ones

PACKAGE_CLASSES ?= "package_rpm package_deb"

EXTRA_IMAGE_FEATURES += " package-management"

IMAGE_INSTALL_append = " apt"

0 Kudos