On Thu, 21 Feb 2019 15:36:08 +0100 "Patrick Dupre" <pdupre@xxxxxxx> wrote: > How can I make a dnf install "list of pkgs in a file"? > > I tried dnf install `file` > > but it does not work. I usually use a python script to read the file and run dnf in a subprocess for each package. That way, a single problem doesn't stop the whole update. I haven't tried these, so I don't know if they work, but you could try dnf update < $(cat file) or cat file | xargs dnf update Because I haven't tried them, there may be syntax or grammar errors in the commands. The first should treat the file as a group, and will be faster if there are no dependency errors. The second should do each package individually, so will be slower but error tolerant. _______________________________________________ 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