Download the Fedora 42 XFCE Spin ISO from the official Fedora Spins website and create a VirtualBox VM. I recommend creating one with 8GB RAM, 4 CPUs, and at least 40GB of disk space.
Important: If you have VirtualBox Extension Pack installed, uninstall it first as it may cause driver conflicts with XLibre.
Boot from the ISO and start the installer. When you reach the Installation Destination screen, select Custom/Manual partitioning.
Choose Standard Paritioning and check "Encrypt my data".