regexp a package apt-get

Steve yorvik.ubunto at googlemail.com
Thu Apr 8 16:11:44 UTC 2010


On Thu, 08 Apr 2010 17:00:11 +0100, Preston Hagar <prestonh at gmail.com>  
wrote:

> On Thu, Apr 8, 2010 at 12:26 AM, Jozsi Vadkan <jozsi.avadkan at gmail.com>  
> wrote:
>> Is there a regexp for the:
>>
>> gstreamer0.10-plugins-bad
>>
>> package?
>>
>> I mean like:
>>
>> apt-get install gstreamer*-plugins-bad
>>
>> so that later, when it will get a new version number, it would still be
>> downloadable by a "script" written e.g.: now.
>>
>> Thank you!
>>
>>
>
> Package names should be able to follow general POSIX regex:
>
> Try:
>
> apt-get install gstreamer.*-plugins-bad
>
> and see if that is what you are looking for.
>
> Preston
>
apt-get install -s gstreamer.*-plugins-bad

may be better as it just does a simulation and doesn’t install things if  
you are only testing.

-- 
Steve (Yorvyk)
http://www.lubuntu.net




More information about the ubuntu-users mailing list