Hi.
On Sat, 14 Jul 2018 15:30:36 -0400 "Robert P. J. Day" wrote:
> 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.
Complicated. See below.
except the whole point of this exercise is that i don't want to
have
to manually keep track of the packages as i install them ...
Why?
Keeping track of those packages will allow easily to:
- memorize what your project needs
- deploy those packages on other machines
- suppress them
You can for example maintain a plain file containing only their names:
my_project_rpms.txt
Then install by using only:
dnf install $(< my_project_rpms.txt)
and remove with:
dnf remove $(< my_project_rpms.txt)
No need IMO of a special option to dnf for that.
--
francis