<div class="gmail_quote">On Tue, Sep 22, 2009 at 4:08 PM, Michele Brocco <span dir="ltr">&lt;<a href="mailto:ssj2micvm@gmail.com">ssj2micvm@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div class="h5">On 9/22/09, Torfinn Ingolfsen &lt;<a href="mailto:tingox@gmail.com">tingox@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; There is no &#39;search&#39; action in apt-get, how do I find out if a package is<br>
&gt; available or not?<br>
&gt; Example: say I would like to install vi or vim, how do I find out if one or<br>
&gt; the other is available for apt-get?<br>
&gt; (No, doing &#39;apt-get install vi&#39; sin&#39;t the right way to do it)<br>
&gt;<br>
&gt; Yeah, I know, I reveal my newbie status  with regards to Linux. My excuse is<br>
&gt; that on my Xubuntu laptop, I always use synaptic. :^)<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Torfinn Ingolfsen<br>
&gt;<br>
</div></div>apt-cache search XXX<br>
<br>
is probably what u are looking for.  u can then search for keywords in<br>
the results if there are too many results. you do it in this way:<br>
<br>
apt-cache search vi | grep -i vi<br>
<br>
hope that helps<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br>Or you could install aptitude and use aptitude search.  aptitude search vi will list all the packages and descriptions involving vi.<br><br>-Dan Staley<br>