list of packages and version numbers

Asked by Tom

Hi, is there a quick way to get a list of all the packages i have installed and what version numbers they - so that i can copy into Open-Office Calc? So preferably from a command-line? :)

Thanks, regards from
Tom

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Ferguson
Solved:
Last query:
Last reply:
Revision history for this message
Best Andy Ferguson (teknostatik) said :
#1

dpkg --get-selections will get you a list of installed packages, but not with version numbers. I'm not sure how you would get the version numbers.

Regards,

Andy

Revision history for this message
Tom (tom6) said :
#2

Thanks Andy Ferguson, that solved my question.

Revision history for this message
Tom (tom6) said :
#3

Thanks Andy, that gave me a great place to start from and gave me a good list. There were some marked "deinstall" quite clearly and that helped too.

Thanks and regards from
Tom :)

Revision history for this message
Bhavani Shankar (bhavi) said :
#4

you can use an additional grep command together to search for a specific package