On Tue, 2016-08-16 at 10:57 -0700, stan wrote: > On Tue, 16 Aug 2016 13:04:42 +0200 > Frank Elsner <frank@xxxxxxxxxxxxxxxxxxxxx> 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. >From dnf(1): dnf history userinstalled List names of all packages installed by a user. The output can be used as the %packages section in a kickstart file. However it's far from clear what that actually means as there is no other information about it. poc -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx 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