5

I'd like to output a list of all, currently not installed, packages (they are visible in Synaptic for example) using only shell commands.
How do I do this?

3 Answers 3

7
aptitude search '!~i'

See the Search Term Reference in the aptitude user's manual for details.

7

From the question's tags, I assume a Debian system.

In Bash: aptitude search '!~i'. The list is very long (more than 30k lines).

It can be interesting to suppress virtual packages also: aptitude search '!~i !~v'

0

Type the command as follows:

# rpm -qa > list.txt

with this command you can check your installed RPM list after that you can easly to find which RPM is not installed.

1
  • thanks, but I asked for a debian system...
    – user4133
    Commented Jan 24, 2011 at 19:33

You must log in to answer this question.