Find the list of installed packages in Ubuntu/Debian

To find the list of installed packages on ubuntu/debian, on console run

[code]
<pre>dpkg –get-selections</pre>
[/code]

To find if a specific package is installed –

[code]
<pre>dpkg –get-selections|grep <packagename></pre>
[/code]

Kj
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.

Leave a Comment

Your email address will not be published. Required fields are marked *