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?
Thanks!
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?
Thanks!
This should be it:
This will list all packages currently not installed (including virtual packages and packages that have only their configuration files installed). If you don't want virtual packages (that's what Synaptic shows as Not installed), extend the search pattern to:
You probably need to install
aptitude
, as it's no longer part of the default installation as of Ubuntu 10.10.This isn't fast, but it will work:
Warning: This prints all packages, even meta-packages and virtual packages.