How to get the version of installed libjpeg package?

Asked by Sarbeswar Meher on 2012-04-26

I want to know how to get the version of installed libjpeg package from linux (ubuntu, debian, suse, etc..)? Can someone write a sample code to get the version?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu libjpeg6b Edit question
Assignee:
No assignee Edit question
Last query:
2012-04-27
Last reply:
2012-04-27

apt-cache policy libjpeg*

Should do it.

It works only in ubuntu. How about other distros (fedora, suse, debian, redhat ,etc.)

Is there any generic command to know the version of libjpeg ?

That'll work in Debian too. I suggest you post on a RedHat / SuSE forum for the other distros.

Can you help with this problem?

Provide an answer of your own, or ask Sarbeswar Meher for more information if necessary.

To post a message you must log in.