Checking packages versions or whether installed or not on manjaro

I need to check libopencm3 package version.
It is already writing on package manager also terminal

paru -Ss libopencm3
community/libopencm3 r2639.90753950-1 [3.75MB 44.74MB] [Installed]
    Open Source firmware library for various ARM Cortex microcontrollers
aur/libopencm3-git r2314.f5d2d8f1-1 [+11 ~0.00]
    Open Source firmware library for various ARM Cortex microcontrollers
aur/libopencm3-ldscripts-git 1-3 [+1 ~0.00]
    ldscripts generator for ARM MCUs from libopencm3 library

But I am curious how we can check this package installed. I shouldn’t check this way.
There must be an alternate way for package check.

pacman -Qs libopencm3

?

1 Like

Its work but I think I need to fetch library header file which should provide version info.
Actually, I have to use something like grep function I think. But I can’t able to remember.

Something like pacman -Qi libopencm3 | grep "Version" would probably give you a version.

1 Like

Thanks it looks great

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.