Open main menu

DAVE Developer's Wiki β

Changes

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

13 bytes added, 07:14, 11 August 2023
no edit summary
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.
'''apt-get''' performs runtime package management of <code>.deb</code> packages. In order to use '''apt-get''' for runtime package management, you must perform an initial setup on the target machine for cases where the <code>PACKAGE_FEED_* </code> variables were not set as part of the image that is running on the target.
In principle, the adoption of the Debian package management should allow to use prebuilt package archives available for [http://ftp.debian.org/debian/README.html Debian distributions]. However, close attention should be paid when mixing packages of different distributions. For instance, Debian packages installed on a Yocto file system could not work. Even worse, '''they could interfere with existing packages and make these unusable'''.
dave_user
404
edits