|Upated info for [[DESK-MX6UL-L|DESK-MX6UL-L-3.0.0]] and [[DESK-MX6-L|DESK-MX6-L-3.0.0]]
|-
|}
==Introduction==
Since some [https://www.yoctoproject.org/docs/2.3/dev-manual/dev-manual.html#using-runtime-package-management Pyro (2.3) Yocto releasesrelease], DNF is the default package manager for installing packages in the DUT (target machine).
The [https://en.wikipedia.org/wiki/DNF_(software) Dandified Packaging Tool (DNF)] performs runtime package management of RPM packages. In order to use DNF for runtime package management, you must perform an initial setup on the target machine for cases where the PACKAGE_FEED_* variables were not set as part of the image that is running on the target.
More information in the [https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/package-management/DNF/#sec-Configuring_DNF_and_DNF_Repositories Configuring DNF and DNF_Repositories] Fedora's page.
Here below an example on how to create the <code>.repo</code> with the proper [https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/package-management/DNF/#sec-Setting_repository_Options setting options]using DAVE's Yocto server and [[AXEL ULite SOM|AXEL ULite]] package repositories:
We assume that network interface has been already configured for Internet access. In any case, a simple network configuration can be done directly on serial console with according to the following commands[[DESK-MX6UL-L/Deployment/How_to_configure_the_network_interfaces#Static_IP_address | How to configure the network interfaces]] wiki page:
<pre class="board-terminal">
root@desk-mx6ul-axelulite:~# ifconfig cat /etc/systemd/network/eth0 .network[Match]Name=eth0 # Prevent the interface loading if the kernel boots from nfsKernelCommandLine=!nfsroot [Network]Address=192.168.0.9490root@desk-mx6ul-axelulite:~# route add default gw Gateway=192.168.0.254DNS=192.168.0.1root@desk-mx6ul-axelulite:~# echo "nameserver 8.8.8.8" > /etc/resolv.conf
</pre>
Then, for installing a package, it is enough to invoke <code>dnf</code> with the ''install'' parameter, for example: