5

I am an avid gamer, I use Windows and Linux, I would like to play games in my Ubuntu machine which requires DirectX.

How can I run the game which requires DirectX in Linux?

Giacomo1968
  • 58,727

2 Answers2

4

You can use Wine.

Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows.

Here is the Wine Application Database where you can check how well an application/game works with wine.

Here is an introduction article on How to install DirectX in Linux


Then there is CrossOver a commercial product that I have used in the past with decent results.
Nifle
  • 34,998
1

Your best bet is to use Steam and Proton, which integrates Wine but primarily the gaming components bundled together.

Steam is available in most repositories, so you can install using the software manager just as you would any other application.

To enable Proton:

  • Open Steam and go to Settings. Navigate to Steam Play.
  • Check "Enable Steam Play for supported titles" and "Enable Steam Play for all other titles".

I do highly recommend installing the proton-ge-custom as it has some additional components for broader compatibility for more games and you can run non-steam games using the Umu launcher.

But also there's a dev making DirectX native to Linux. Take a look here.

Oh my, I completely forgot to add the option to use the newly developed launcher named UMU, which is great for running games outside of Steam but is purely CLI based. It basically uses the same functionality of proton and wine prefixes to perform the same action as Steam but obviously removing the necessity of having your game in the Steam Library. As an added bonus, they are building a game compatibility library for environmental variables needed so that any dependencies a game needs to run, is automatically loaded when you use it to run a game.

Joshua
  • 11