<div class="gmail_quote">On Tue, Sep 22, 2009 at 4:08 PM, Michele Brocco <span dir="ltr"><<a href="mailto:ssj2micvm@gmail.com">ssj2micvm@gmail.com</a>></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 <<a href="mailto:tingox@gmail.com">tingox@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> There is no 'search' action in apt-get, how do I find out if a package is<br>
> available or not?<br>
> Example: say I would like to install vi or vim, how do I find out if one or<br>
> the other is available for apt-get?<br>
> (No, doing 'apt-get install vi' sin't the right way to do it)<br>
><br>
> Yeah, I know, I reveal my newbie status with regards to Linux. My excuse is<br>
> that on my Xubuntu laptop, I always use synaptic. :^)<br>
><br>
> --<br>
> Regards,<br>
> Torfinn Ingolfsen<br>
><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>