Re: dnf: can i "tag" installed packages so i can remove them later?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
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/KQGWYOQQFVCSZTHDBP23Y5LYQ44YM2AH/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux