Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-AN-0001: Package Management with apt-get

41 bytes added, 07:13, 11 August 2023
no edit summary
As reported by NXP official documentation:
The default package management with Yocto Project is <code>rpm</code>. The i.MX distro now enables '''debian''' as the package management. This can be easily turned off by add PACKAGE_CLASSES <code>PACKAGE_CLASSES_*</code> set to <code>package_rpm </code> to the <code>local.conf </code> (or creating a custom distro without the debian package feed <code>PACKAGE_CLASSES = "package_rpm"</code>.
With the addition of the debian package feed, a sources.list can be added ''/etc/apt'' that links in Debian's package feed. This allows users to install packages not provided in the image without having to add them to a yocto image. Because this package feed is not generated by the i.MX Yocto build process, there is no guarantee each package will work with the right dependencies but it allows simpler tools to be provided. Software that is complex and has more dependencies on specific versions might have issues with an external package feed.
dave_user
417
edits