Poll: How users use DNF

Richard W.M. Jones rjones at redhat.com
Thu Dec 11 10:55:11 UTC 2014

On Thu, Dec 11, 2014 at 12:03:58AM +0400, Igor Gnatenko wrote:
> On Wed, Dec 10, 2014 at 9:05 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> > On Wed, Dec 10, 2014 at 05:56:43PM +0000, Richard W.M. Jones wrote:
> >> I found your email a bit confusing, so hopefully this is what you
> >> are after:
> >>
> >> (1) virt-builder --install is implemented using 'yum install'
> >>
> >> (2) virt-customize --install is implemented using 'yum install'
> >
> > More precisely it's 'yum -y install <list of packages...>'
> >
> > I forgot: There is also an --update flag for both of these
> > commands, currently implemented using 'yum -y update'.
> yes, you can. you can also do this via dnf API ;)

It's unlikely to work for libguestfs though, since we're running those
commands in the context of a guest where we have little or no control
over what software is installed.  (Especially for virt-customize)


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.

More information about the devel mailing list