On Jul 14, 2018, at 6:11 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > ... > 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? ... > > 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 with: > > $ sudo dnf remove --tag=“new_project” … I’m a newbie so I can’t respond about the intricacies of the dnf command. However, if no one else provides a solution and you have not already done so, you might consider writing a script to do the removes for you. At its simplist, you could create a script named “dnf_remove_my_project” with lines: dnf remove docker dnf remove erlang ... and then use: sudo dnf_remove_my_project You could get fancy, such as having a script, eg dnf_group, that does the dnf install and create/append to the dnf_remove_my_project script. good luck, Bev in TX _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx/message/LIULTR3JT4VRBMPPVVLLVIQE5OLZYA4V/