Skip to content

Running on Linux#

TF2 Linux Beta

There is currently a 64-bit TF2 Linux beta, however it can't connect to servers or matchmake.

Installing prerequisites#

Note

The following is for if the game does not load normally.

We need to install lib32-gperftools (or google-perftools) to be able to run the current 32-bit build of TF2 on Linux.

Arch#

paru -S lib32-gperftools
or

yay -S lib32-gperftools

Ubuntu/Debian#

sudo apt install google-perftools

Fedora#

sudo dnf install gperftools-devel.i686

Changing Steam Options#

Go to Team Fortress 2 in your Steam Library, right click it and choose Properties.

tf2-rightclick

Under Launch Options, add this:

LD_PRELOAD=/usr/lib32/libtcmalloc.so:$LD_PRELOAD %command% -novid

The file may also be in /usr/lib, depending on distro.

You may need to open it a few times to get it to work.


Thanks ProtonDB!


Built with Material for MkDocs.