5.13.5.3.1. Using RPM

The application for performing runtime package management of RPM packages on the target is called smart.

On the target machine, you need to inform smart of every package database you want to use. As an example, suppose your target device can use the following three package databases from a server named server.name: all, i586, and qemux86. Given this example, issue the following commands on the target:

     # smart channel ‐‐add all type=rpm-md baseurl=http://server.name/rpm/all
     # smart channel ‐‐add i585 type=rpm-md baseurl=http://server.name/rpm/i586
     # smart channel ‐‐add qemux86 type=rpm-md baseurl=http://server.name/rpm/qemux86
                        

Also from the target machine, fetch the repository information using this command:

     # smart update
                        

You can now use the smart query and smart install commands to find and install packages from the repositories.