[arch-general] How do you extract version from pacman?

Karol Blazewicz karol.blazewicz at gmail.com
Thu Jul 26 08:36:52 EDT 2012

>> On Thu, Jul 26, 2012 at 11:19 AM, Oon-Ee Ng <ngoonee.talk at gmail.com> wrote:
>> > Perhaps it may be nice to have a pacman flag to obtain just the
>> > version string. I'll file a feature request, but before that anyone
>> > has an comments on why it would be useless or a bad idea?

Use expac:
$ expac %v -S virtualbox

(I don't have it installed, so I had to use '-S').

More information about the arch-general mailing list