I’m cheating because this uses virtualbox.
This is ubuntu 20.04.
install these debs:
virtualbox
virtualbox-dkms
virtualbox-ext-pack
virtualbox-guest-additions-iso
Download this Win10 evaluation/development VM
or a suitable one from here
Unzip the file, then on virtualbox, import the VM from the ova file.
Update settings for the VM and enable USB controller, with xHCI so it doesn’t take ages to transfer files.
Boot the VM, log in.
Download itunes from apple inside the vm (maybe with edge):
https://www.apple.com/itunes/download/win64
(I couldn’t install from the ms app store because reasons)
Start itunes by keeping SHIFT pressed while opening itunes:
https://support.apple.com/en-ca/guide/itunes/itns3259/windows
Choose the path where the itunes library is.