Re: dnf group install with-optional but only some options?

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

 



> From: "Ted Roche" <tedroche@xxxxxxxxx>
> 
> Putting together a development workstation for PHP and Ruby work, and
> was hoping the group install option would speed the time picking and
> choosing the many packages.
> 
> Is it possible to install only one or two of the "Optional groups" or
> is it an all-or-nothing choice?

If you install one environment group (list of groups) then you can install
all optional packages from groups (with `with-optional`) it contains or none
optional. You can do `dnf group info <env>` as you already did and install
mandatory groups `dnf group install <env>` + for each optional group:
`dnf group install <opt_grp>`.

> The help for group install in the man pages and
> http://dnf.readthedocs.org/en/latest/command_ref.html  shows the
> 'with-optional' phrase:
> 
> dnf [options] group install [with-optional] <group-spec>...
> 
> So, the optional groups pretty much include everything except the
> kitchen sink, and I wonder if I can avoid installing a couple of
> languages and two databases I don't need, or if I should just skip the
> group install as an installation technique>

Packages that are optional and installed along with `with-optional` switch
could be skipped if they get into conflict with other packages. This feature
is in DNF for ~year. You can go with just mandatory packages and then install
the rest when you need them.


Honza
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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