Changes

Jump to: navigation, search

XELK-AN-003: Package Management with Yocto

2,124 bytes added, 15:12, 24 November 2016
Installing packages on target
The package dependencies will be resolved automatically.
 
== Other useful SMART commands ==
 
A brief guide to SMART command line interface is [http://labix.org/smart/user-guide/Command%20Line%20Interface here]. In the next section we'll show some example of SMART usage.
 
=== Gathering statistics ===
 
To view some information on repositories use <code>smart stats</code>
 
<pre>
root@axel:~# smart stats
Loading cache...
Updating cache... ######################################## [100%]
 
Installed Packages: 331
Total Packages: 11757
Total Provides: 27765
Total Requires: 4798
Total Upgrades: 11704
Total Conflicts: 73
</pre>
 
=== List installed packages ===
 
User can see the list of installed packages with <code>smart query --installed</code>
 
<pre>
root@axel:~# smart query --installed
Loading cache...
Updating cache... ######################################## [100%]
 
alsa-conf-1.0.28-r0@cortexa9hf_vfp_neon
alsa-conf-base-1.0.28-r0@cortexa9hf_vfp_neon
alsa-state-0.2.0-r5@cortexa9hf_vfp_neon
alsa-states-0.2.0-r5@cortexa9hf_vfp_neon
alsa-utils-alsactl-1.0.28-r1@cortexa9hf_vfp_neon
alsa-utils-alsamixer-1.0.28-r1@cortexa9hf_vfp_neon
apm-3.2.2+14-r2@cortexa9hf_vfp_neon
apmd-3.2.2+14-r2@cortexa9hf_vfp_neon
avahi-daemon-0.6.31-r11.1@cortexa9hf_vfp_neon
[...]
</pre>
 
=== List available packages ===
 
To list the available packages into the current configured channels use <code>smart query</code>
 
Please note that this will show all package, it's usually more useful to give it a pattern, e.g.:
 
<pre>
root@axel:~# smart query '*httpd*'
Loading cache...
Updating cache... ######################################## [100%]
 
libmicrohttpd-bin-0.9.34-r0@cortexa9hf_vfp_neon
libmicrohttpd-dbg-0.9.34-r0@cortexa9hf_vfp_neon
libmicrohttpd-dev-0.9.34-r0@cortexa9hf_vfp_neon
libmicrohttpd-doc-0.9.34-r0@cortexa9hf_vfp_neon
libmicrohttpd10-0.9.34-r0@cortexa9hf_vfp_neon
lighttpd-1.4.35-r1@cortexa9hf_vfp_neon
lighttpd-1.4.35-r1@cortexa9hf_vfp_neon
lighttpd-dbg-1.4.35-r1@cortexa9hf_vfp_neon
lighttpd-dev-1.4.35-r1@cortexa9hf_vfp_neon
lighttpd-doc-1.4.35-r1@cortexa9hf_vfp_neon
lighttpd-module-access-1.4.35-r1@cortexa9hf_vfp_neon
[...]
</pre>
== References ==
{{reflist}}
743
edits

Navigation menu