Can DirectX run on Linux?
DirectX is coming to the Windows Subsystem for Linux
If you are a developer working on containerized workload that will be deployed in the cloud inside of Linux containers, you can develop and test these workloads locally on your Windows PC using the same native Linux tools you are accustomed to.
How do I install DirectX on Ubuntu?
Configure DirectX libraries
You can either do it via the Application menu in your distro, Wine > Configure Wine or by running winecfg from the command line. Once the main menu opens, click on the Libraries tab. This tab allows you to specify the behavior of different DLLs and override the possible defaults.