QtMoko - hiw do I find out if a package is available?

Michele Brocco ssj2micvm at gmail.com
Tue Sep 22 22:08:02 CEST 2009


On 9/22/09, Torfinn Ingolfsen <tingox at gmail.com> wrote:
> Hi,
>
> There is no 'search' action in apt-get, how do I find out if a package is
> available or not?
> Example: say I would like to install vi or vim, how do I find out if one or
> the other is available for apt-get?
> (No, doing 'apt-get install vi' sin't the right way to do it)
>
> Yeah, I know, I reveal my newbie status  with regards to Linux. My excuse is
> that on my Xubuntu laptop, I always use synaptic. :^)
>
> --
> Regards,
> Torfinn Ingolfsen
>
apt-cache search XXX

is probably what u are looking for.  u can then search for keywords in
the results if there are too many results. you do it in this way:

apt-cache search vi | grep -i vi

hope that helps



More information about the community mailing list