On Tue, 16 Aug 2016 13:04:42 +0200
Frank Elsner <fr...@moltke28.b.shuttle.de> wrote:

> how to determine whether a packet was installed by dependency 
> or by an explicit "dnf install ..."?

Maybe someone more knowledgeable than me will chime in, but I don't
think there is a way.  dnf knows when removing a package leaves behind
what it calls leaves, packages that have nothing depending on them, but
I don't think it keeps track of installation method beyond repository
of origin.

If it is a single package, you could try a  dnf remove  to see what it
wants to remove for dependencies.  Those packages would have installed
the package you want to remove if it wasn't already installed (pulled
it in as a dependency).

Packages that have a *lot* of dependencies when you try to remove them,
were probably installed as part of the base installation.

HTH
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to