I want to install all openoffice packages. Passing openoffice* obviously wouldn't work, because it'd look at file system. How can I do that?
Hmmm... I've checked it and
works properly (wildcard is accepted)
You can use shell globbing patterns as package names:
But you have to make sure that your shell does not consume your glob:
Without the single quotes the shell expands the glob if your directory contains files whose filenames begin with 'openoffice'.
Alternative (inspect package list)
You can query all installable package that match
To extract those package names you can use
Thus you could install those packages via:
(Those steps give you the chance to inspect the list of all 'openoffice*' matching packages, e.g. to remove obvious unwanted packages.)