regexp a package apt-get

Preston Hagar prestonh at gmail.com
Thu Apr 8 16:00:11 UTC 2010


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




More information about the ubuntu-users mailing list