On Thu, 21 Feb 2019 15:36:08 +0100
"Patrick Dupre" 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 d
dnf install `cat file`
On Thu, Feb 21, 2019 at 9:02 AM stan via users
wrote:
>
> On Thu, 21 Feb 2019 15:36:08 +0100
> "Patrick Dupre" 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 sc
As long as you're sure you want to install all of those packages then:
# cat 'file' | xargs dnf -y install
should do it. You have to do the -y because dnf will just exit if you
don't. You can't run an interactive prompt...
Thanks,
Richard
___
users mai
Hello,
How can I make a dnf install "list of pkgs in a file"?
I tried dnf install `file`
but it does not work.
Thank
===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire interdisciplina