On my OpenSUSE (Leap and Tumbleweed) desktop clients, I’ve regularly installed the Virtual Machine Manager GUI (
virt-manager package) to manage various Linux guests that are running on remote hypervisors. The package only pulls in a handful of dependencies.
Now when I try to install
virt-manager on Rocky Linux (or any RHEL clone), it pulls in nearly all the
qemu related packages.
As far as I can tell, this is wrong. Users should be able to install
virt-manager separately and independently from all this stuff. I wonder if I should file a bug report on this.
Which version of RHEL and are you sure ? - I recently installed 8.5 and installed virt-manager, then upgraded to 8.6, had some issues with virtualisation and discovered I didn’t have libvirt installed.
[quote=“bobar, post:2, topic:7652, full:true”]
Which version of RHEL and are you sure ?[/quote]
Rocky Linux 8.6. And yes, I’m sure.
On AlmaLinux 8.6:
[AL8]$ dnf -q rq --requires virt-manager --resolve | grep -v i686
[AL8]$ dnf -q rq --requires virt-manager --tree | grep " ._ " | grep -Fv "| |" | grep -v i686 | wc -l
[AL8]$ dnf -q rq --requires virt-manager --resolve --recursive | grep -v i686 | wc -l
And “dnf install virt-manager” on rather minimal (VM) would install 193 packages.
Aww, grep did not like me with repoquery’s tree. Nevertheless, there are plenty of dependencies, including:
[AL8]$ dnf install virt-manager | grep -cE "libvirt|qemu"
I’d guess that dependencies are mostly inherited from RHEL?
Well that would be interesting because RHEL thinks it’s deprecated.