1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AppStream Library Reference Manual: appstream-index</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="AppStream Library Reference Manual">
<link rel="up" href="manpages.html" title="AppStream Manual Pages">
<link rel="prev" href="manpages.html" title="AppStream Manual Pages">
<link rel="next" href="re17.html" title="appstream-validate">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="manpages.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="manpages.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="re17.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="id-1.7.2"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">appstream-index</span></h2>
<p>appstream-index — Manage the AppStream component index</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">appstream-index</code> [<code class="option">COMMAND</code>]</p></div>
</div>
<div class="refsect1">
<a name="id-1.7.2.5"></a><h2>Description</h2>
<p>
This manual page documents briefly the <span class="command"><strong>appstream-index</strong></span> command.
</p>
<p>
<span class="command"><strong>appstream-index</strong></span> manages the AppStream index. The AppStream component
index contains a list of all available applications for your distribution, matched with their
native package names.
It is generated using either AppStream-XML, Debian-DEP-11 or Ubuntu AppInstall data, which is provided
by your distributor.
</p>
<p>
For more information about the AppStream project and the other components which are part of it, take a look at
the AppStream pages at <a class="ulink" href="http://www.freedesktop.org/wiki/Distributions/AppStream/" target="_top">Freedesktop.org</a>.
</p>
</div>
<div class="refsect1">
<a name="id-1.7.2.6"></a><h2>Options</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="option">get <em class="replaceable"><code>ID</code></em></code></span></p></td>
<td><p>Get a component by it's identifier.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">s</code>, </span><span class="term"><code class="option">search <em class="replaceable"><code>TERM</code></em></code></span></p></td>
<td><p>Search the AppStream component database for a given search term.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">what-provides <em class="replaceable"><code>TYPE</code></em> <em class="replaceable"><code>TERM</code></em></code></span></p></td>
<td>
<p>
Return components which provide a given item. An item type can be specified using the
<code class="option"><em class="replaceable"><code>TYPE</code></em></code> parameter, a value to search for has to be
supplied using the <code class="option"><em class="replaceable"><code>TERM</code></em></code> parameter.
</p>
<p>Examples:</p>
<p>
Get components which handle the "text/xml" mimetype.
</p>
<p>
<span class="command"><strong>appstream-index</strong></span> what-provides mimetype "text/xml"
</p>
<p>
Get component which provides the "libfoo.so.2" library.
</p>
<p>
<span class="command"><strong>appstream-index</strong></span> what-provides lib libfoo.so.2
</p>
</td>
</tr>
<tr>
<td><p><span class="term"><code class="option">refresh</code></span></p></td>
<td>
<p>
Trigger a database refresh, if necessary.
In case you want to force the database to be rebuilt, supply the <code class="option">--force</code> flag.
</p>
<p>This command must be executed with root permission.</p>
</td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--details</code></span></p></td>
<td><p>Print out more information about a found component.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--no-color</code></span></p></td>
<td><p>Don't print colored output.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--version</code></span></p></td>
<td><p>Display the version number of appstream-index</p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="id-1.7.2.7"></a><h2>See Also</h2>
<p>pkcon (1).</p>
</div>
<div class="refsect1">
<a name="id-1.7.2.8"></a><h2>AUTHOR</h2>
<p>
This manual page was written by Matthias Klumpp <code class="email"><<a class="email" href="mailto:matthias@tenstral.net">matthias@tenstral.net</a>></code>.
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
</body>
</html>
|