> 
> I think the easiest thing to do is to look in /var/log/apt/history.log
> (and its .xx.gz archives) for the list of installed p[ackages, put them
> all in one long "apt purge" command and then afterwards run "apt
> autoremove"  to get rid of any unused dependencies.
>

Yes, /var/log/apt/history.log[.gz] indeed log the apt package manager history. 
But manually selecting for about 100s of packages is to much. I hoped for 
preexisting shell scripts or some other automated solution as I am not good 
with shell scripting. One of the good feature of dnf5 is it's history argument. 
 
> I don't believe there is any other place that records date of package
> installation.
> 

For apt not. But if you use some other package manager like aptitude or 
synaptic they save logs in different directories.

Reply via email to