On 7/8/23 19:51, Bill Cunningham wrote:
Is there a way to use dnf or rpm to compare the listing of groups. For
example, in my case I use "minimal install" or the "Fedora Server
Edition" install. If I wanted to compare these two groups and the rpms
that are in each, how would I do that?
That is complicated. First, those are environment groups, so they are a
list of other groups.
# dnf group info 'Minimal Install'
Environment Group: Minimal Install
Description: Basic functionality.
Mandatory Groups:
Core
Optional Groups:
Common NetworkManager Submodules
Guest Agents
Standard
# dnf group info 'Fedora Server Edition'
Environment Group: Fedora Server Edition
Description: An integrated, easier to manage server.
Mandatory Groups:
Common NetworkManager Submodules
Core
Fedora Server product core
Hardware Support
Headless Management
Standard
Optional Groups:
Container Management
Domain Membership
Guest Agents
Hardware Support for Server Systems
That gives you a starting point. But the second issue is that each of
those groups can have various categories of mandatory and optional packages.
# dnf group info Core
Group: Core
Description: Smallest possible installation
Mandatory Packages:
audit
basesystem
bash
coreutils
curl
dhcp-client
dnf
e2fsprogs
filesystem
glibc
grubby
hostname
iproute
iputils
kbd
less
man-db
ncurses
openssh-clients
openssh-server
parted
passwd
policycoreutils
procps-ng
rootfiles
rpm
rpmfusion-free-release
rpmfusion-nonfree-release
selinux-policy-targeted
setup
shadow-utils
sssd-common
sssd-kcm
sudo
systemd
util-linux
vim-minimal
yum
Default Packages:
NetworkManager
dnf-plugins-core
dracut-config-rescue
fedora-repos-modular
firewalld
fwupd
plymouth
systemd-resolved
zram-generator-defaults
Optional Packages:
dracut-config-generic
initial-setup
initscripts
Conditional Packages:
rpmfusion-free-appstream-data
rpmfusion-nonfree-appstream-data
There really is no simple way to compare them, although probably the
simplest method is to compare which package groups are involved if
you're only looking at environment groups. It depends on why you're
looking for this info.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue