# How to install and run Cod4x on Linux (Steam)

**URL:** <https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781>\
**Category:** CoD4x | Client Support\
**Created:** [April 24, 2024, 2:50am UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781 "2024-04-24T02:50:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waterfowlin](https://cod4x.ovh/letter_avatar_proxy/v4/letter/w/da6949/32.png) [@Waterfowlin](https://cod4x.ovh/u/Waterfowlin)\
**Post date:** [April 24, 2024, 2:50am UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/1 "2024-04-24T02:50:34Z")

</div>

This worked on my setup, while it may not work on others. Bear that in mind.

Download the cod4x files from the the downloads on this site, extract the files into the mods folder of your call of duty 4 installation. Then run “wine install.cmd” in your terminal after cding into the correct directory.

Go into the .wine folder in your home directory and navigate to your user account and to AppData. Copy the Call of Duty 4 Modern Warfare file folder that contains important data (I forgot what it exactly is for but found when I removed it and ran it without steam, it didn’t show up as Cod4X anymore and instead just as 1.7 and had no more access to cod4x servers). Go to steamapps, then to compatdata I think, then into the wineprefix folder proton automatically created for the game (for me it was called 7940 since that is the app id), then paste it into the AppData folder of that. Now when booting up the game, it should run perfectly and now support Cod4x servers.

Cheers!

---

<div class="post-metadata">

**Author:** ![AAVVIronAlex](https://cod4x.ovh/user_avatar/cod4x.ovh/aavvironalex/32/1549_2.png) [@AAVVIronAlex](https://cod4x.ovh/u/AAVVIronAlex)\
**Post date:** [April 24, 2024, 11:34am UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/2 "2024-04-24T11:34:29Z")

</div>

When running `wine install.cmd` it did not do anything.

It outputted: not supported on this system

---

<div class="post-metadata">

**Author:** ![Waterfowlin](https://cod4x.ovh/letter_avatar_proxy/v4/letter/w/da6949/32.png) [@Waterfowlin](https://cod4x.ovh/u/Waterfowlin)\
**Post date:** [April 24, 2024, 12:42pm UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/3 "2024-04-24T12:42:38Z")

</div>

Are you in the Cod4x mod folder directory? If so, I don’t think I know how to help. Maybe use a different version of wine? My computer’s default one is 8.1 currently.

---

<div class="post-metadata">

**Author:** ![AAVVIronAlex](https://cod4x.ovh/user_avatar/cod4x.ovh/aavvironalex/32/1549_2.png) [@AAVVIronAlex](https://cod4x.ovh/u/AAVVIronAlex)\
**Post date:** [April 24, 2024, 5:15pm UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/4 "2024-04-24T17:15:51Z")

</div>

Okay maybe I will have to wait for a newer LTS to come (tomorrow), because mine is on 6.0.3.

I am soon changing to a rolling release because of things like this.

Anyway, thanks. I will let you know if it works.

---

<div class="post-metadata">

**Author:** ![AAVVIronAlex](https://cod4x.ovh/user_avatar/cod4x.ovh/aavvironalex/32/1549_2.png) [@AAVVIronAlex](https://cod4x.ovh/u/AAVVIronAlex)\
**Post date:** [April 24, 2024, 5:35pm UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/5 "2024-04-24T17:35:59Z")

</div>

I tried to fix it, ran the game through Lutris (I have the DVD copy of it). Now it just says that it requires Steam for the multiplayer, which I do not understand. Why make a disc copy if you do not support multiplayer on it?

---

<div class="post-metadata">

**Author:** ![sonic](https://cod4x.ovh/letter_avatar_proxy/v4/letter/s/c37758/32.png) [@sonic](https://cod4x.ovh/u/sonic)\
**Post date:** [April 26, 2025, 2:17pm UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/6 "2025-04-26T14:17:57Z")

</div>

Thanks! Works fine here 🙂

---

<div class="post-metadata">

**Author:** ![bavarian](https://cod4x.ovh/letter_avatar_proxy/v4/letter/b/977dab/32.png) [@bavarian](https://cod4x.ovh/u/bavarian)\
**Post date:** [March 28, 2026, 8:51am UTC](https://cod4x.ovh/t/how-to-install-and-run-cod4x-on-linux-steam/3781/7 "2026-03-28T08:51:22Z")

</div>

although directions are a bit lousy but man you really helped me in fixing this issue. thank you so much boss
