To be more specific, I would like to do the equivalent of adding the
--purge flag to the following command
sudo apt-get autoremove --purge [package name]
to packages that are no longer on the system.
Preferably, I would like to know how to do it to specific packages and to every uninstalled package in the system.