Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
|-
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |August 2023/08/31| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |DESK-MP1-L-1.0.0 1 release
|-
|}
<section begin="Body" />
{{ImportantMessage|text=This application note has been validated using =Management of prebuilt packages==During the '''kit version''' development of custom applications, developers generally realize that they need to add libraries and other software packages to the root file systems to make their code run properly. If these packages are prebuilt, developers can install them onto the root file system very easily. By configuring the target as described in this document, they achieve a user experience similar to the History tableone you have with a desktop Linux distro such as Ubuntu. DESK-MP1-L uses by default the <code>deb</code> package format. As such, [https://itsfoss.com/apt-command-guide/ apt commands] can be used for package management. Prebuilt packages are provided by [https://yocto.dave.eu/desk-mp1-l-1.0.1/ this repository] that DAVE Embedded Systems makes available for its customers.}}
==Introduction==During the development of custom applications, developers generally realize that they need to add libraries and other software packages to the root file systems to make their code run properly. If these packages are prebuilt, developers can install them onto the root file system very easily. By configuring the target as described in this document, they achieve a user experience similar to the one you have with a desktop Linux distro such as Ubuntu. DESK-MP1-L uses by default the <code>deb</code> package format. As such, [https://itsfoss.com/apt-command-guide/ apt commands] can be used for package management. Prebuilt packages are provided by [https://yocto.dave.eu/desk-mp1-l-1.0.0/ this repository] that DAVE Embedded Systems makes available for its customers. =get = apt-get ==
The following instructions detail how to use apt-get for installing packages with Yocto repositories created by DAVE's build system for DESK-MP1-L.
====Configuring <code>apt</code>====
Edit the file <code>/etc/apt/apt.conf</code> like this:
<pre>
</pre>
=== Installing packages on target ===
We assume that network interface has been already configured for Internet access. In any case, a simple network configuration can be done according to the [[DESK-MP1-L/Deployment/How_to_configure_the_network_interfaces#Static_IP_address | How to configure the network interfaces]] wiki page.
</pre>
=== Other useful apt commands ===
==== List of configured software repositories ====
As shown before, the target is configured for accessing the Yocto repositories as listed in the <code>/etc/apt/sources.list.d</code> apt configuration directory:
</pre>
==== Search for packages ====
To search for an available package into the current configured channels use <code>apt-cache search</code>
</pre>
==== List of installed packages ====
User can see the list of installed packages with <code>dpkg --get-selections | sed 's:install$::'</code> (sed removes the ''install'' string from the output list)
xz
</pre>
 
----
 
[[Category:ETRA]] [[Category:ETRA_SBC]]
8,286
edits