{"id":11928,"date":"2025-10-15T01:02:00","date_gmt":"2025-10-15T05:02:00","guid":{"rendered":"https:\/\/www.both.org\/?p=11928"},"modified":"2025-10-15T10:56:27","modified_gmt":"2025-10-15T14:56:27","slug":"finding-hidden-package-groups-using-dnf","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=11928","title":{"rendered":"Finding hidden package groups using DNF"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"11928\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">1    <\/span>\r\n<\/div><\/div>\n<p>For some reason, the Fedora packagers are hiding a large number of package groups so that you can&#8217;t see them when you search using <strong>dnf group list<\/strong>. In case you don&#8217;t know, a package group is, as its name implies, a group of related packages that are combined to make a complete software unit such as LibreOffice. This makes handling large numbers of packages easier by enabling then to be installed and removed as a single unit. <\/p>\n\n\n\n<p>But DNF in Fedora, and presumably also RHEL and other Red Hat-related distros such as Alma Linux, doesn&#8217;t display all of the defined groups. I uncovered this fact when I went looking for a couple groups that I knew existed. When I didn&#8217;t find them I started trying to figure out where they were. That&#8217;s when I discovered the <strong>&#8211; &#8211; hidden<\/strong> option for the <strong>dnf<\/strong> command.<\/p>\n\n\n\n<p>This command lists all of the RPM package groups including the hidden ones. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># <strong>dnf group list --hidden<\/strong>\nID                           Name                                        Installed\nnetworkmanager-submodules    Common NetworkManager Submodules                  yes\nlxqt-media                   Multimedia support for LXQt                        no\nlxqt-office                  LXQt Office                                        no\nmail-server                  Mail Server                                        no\nmate-applications            MATE Applications                                  no\nmate-desktop                 MATE                                               no\nmilkymist                    Milkymist                                          no\nmingw32                      MinGW cross-compiler                               no\nmultimedia                   Multimedia                                        yes\nmiraclewm-desktop            Miracle Window Manager Desktop                     no\nmysql                        MariaDB (MySQL) Database                           no\nlxqt-l10n                    Translations of LXQt                               no\nnetwork-server               Network Servers                                    no\nneuron-modelling-simulators  Neuron Modelling Simulators                        no\nnews-server                  News Server                                        no\nocaml                        OCaml                                              no\noffice                       Office\/Productivity                                no\nperl                         Perl Development                                   no\nperl-web                     Perl for Web                                       no\nphosh-desktop                A phone\/tablet UX environment                      no\nphp                          PHP                                                no\nlibreoffice                  LibreOffice                                       yes\nkde-media                    KDE Multimedia support                             no\nkde-mobile                   KDE Mobile                                         no\n&lt;SNIP>\ndns-server                   DNS Name Server                                    no\ndogtag                       Dogtag Certificate System                          no\ndomain-client                Domain Membership                                  no\nadmin-tools                  Administration Tools                              yes\neducation                    Educational Software                               no\nelectronic-lab               Electronic Lab                                     no\nengineering-and-scientific   Engineering and Scientific                         no\nenlightenment-desktop        Enlightenment                                      no\nfedora-packager              Fedora Packager                                    no\nfirefox                      Firefox Web Browser                                no\nfonts                        Fonts                                             yes\nfont-design                  Font design and packaging                          no\nfreeipa-server               FreeIPA Server                                     no<\/code><\/pre>\n\n\n\n<p>By my count, out of 165 total groups, when using the <strong>dnf group list <\/strong>command, only 54 are displayed. The question is, why are 111 groups hidden? Some are installed and some are not. I eventually stumbled across the reason for this.<\/p>\n\n\n\n<p>Apparently the Fedora packagers have decided that these groups are already installed or are unlikely to be installed by the &#8220;average&#8221; user so they don&#8217;t need to be listed. The reason I read for this is that adding these to the list would &#8220;confuse people.&#8221; I think that&#8217;s just stupid. I was more confused by not being able to find what I needed than by having a long list which I can sort and select by using common command line tools. <\/p>\n\n\n\n<p>Not only that &#8212; the list of hidden groups seems rather arbitrary as I can discern no reasonable pattern to the selections. And, as the lazy SysAdmin, this just adds more typing to the command I need to use. I mean, I guess I could set up an alias, but that shouldn&#8217;t be necessary.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>So if you seem to be missing some RPM package groups from your listing, this is where they&#8217;re hiding. But now you know how to find them.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 For some reason, the Fedora packagers are hiding a large number of package groups so that you<\/p>\n","protected":false},"author":2,"featured_media":10546,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[100,71,5,28,668,80],"tags":[725,802],"class_list":["post-11928","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-command-line","category-fedora","category-linux","category-opinion","category-rant","category-tips-and-tricks","tag-dnf","tag-tips-and-tricks"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/11928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11928"}],"version-history":[{"count":15,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/11928\/revisions"}],"predecessor-version":[{"id":12200,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/11928\/revisions\/12200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/10546"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}