On Wed, 2017-03-15 at 17:37 -0700, Gerald B. Cox wrote:
On Wed, Mar 15, 2017 at 3:52 PM, Reindl Harald
<h.reindl(a)thelounge.net>
wrote:
> rpm -qa | grep leave
> python3-dnf-plugins-extras-leaves-0.0.12-3.fc24.noarch
> python3-dnf-plugins-extras-show-leaves-0.0.12-3.fc24.noarch
>
> dnf leaves
>
> and with both installed after each removal you get a fresh list of now
> installed stuff without dependencies - combined with smart self built
> metapackages just defining requires of packages you have installed by
> intention you end in:
>
> [root@srv-rhsoft:~]$ dnf leaves
> lounge-rhsoft-extras-24.0-1.fc24.20170218.rh.noarch
> [root@srv-rhsoft:~]$
>
Thanks much!
You might also want to look at the clean_requirements_on_remove
configuration option in /etc/dnf/dnf.conf.
poc