beci: because some people don't use the default kernel and they need to install another package: for example linux-lts-headers for Linux LTS, linux-zen-headers for Linux Zen... The virtualbox-host-dkms package also put linux-headers as optional dependency.
If I try to install VMware on a vanilla Arch without kernel headers, I have a different message: "==> Unable to install module vmware-workstation/15.0.0_10134415 for kernel *: Missing kernel headers."
Pinned Comments
jihem commented on 2020-02-10 17:29 (UTC) (edited on 2021-06-19 13:19 (UTC) by jihem)
After the first installation, please:
1) install the appropriate headers package(s) for your installed kernel(s): linux-headers for default kernel, linux-lts-headers for LTS kernel...
2) reboot or load vmw_vmci and vmmon kernel modules (modprobe -a vmw_vmci vmmon)
3) Enable the services you need (using .service units to activate them during boot or .path units to activate them when a VM is started) :
vmware-networks: to have network access inside VMs
vmware-usbarbitrator: to connect USB devices inside VMs