On Sat, 14 Jul 2018, Rex Dieter wrote:

> Robert P. J. Day wrote:
>
> >
> >   scanned the dnf man page, did not see an immediate solution so i'll
> > ask here:
> >
> >   is there any way to dynamically tag or label packages during dnf
> > install so i can remove them all later by that tag or label? on more
> > than one occasion, i've had to install dozens (or hundreds) of
> > packages, *knowing* that i would need them only for a while, at which
> > time it would be nice to be able to remove them all via that tag or
> > label.
> >
> >   i guess i'm after something i would think of as a "dynamic group",
> > where i could run, say:
> >
> >   $ sudo dnf install --tag="my_project" docker
> >   $ sudo dnf install --tag="my_project" erlang
> >
> > and possibly other totally unrelated packages, then toss them all
> > later
>
> sudo dnf history undo ...
>
> may be of use here (you can undo individual transactions

  sort of, but still not exactly what i'm after. it might be that i'm
trying to install packages for a completely new project, and all of
this is not going to happen all at once, i do it little by little as i
figure out which new components i need (and those components might be
entirely unrelated in terms of functionality).

  ideally, what i want is the equivalent of on-the-fly defining a new
"group" of RPMs, and associating selected RPMs that i install with
that new group, but i'm fairly convinced that no such feature exists,
so i'll mock something up. or fake it somehow.

rday
-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/ERHW6J4XFOTNNXLFV4MBEJ7BGYUWSPF3/

Reply via email to