Team Fortress 2

Team Fortress 2

评价数不足
How To Play TF2 on Fedora Linux
由 aspens 制作
this fix is based on this guide, which has been marked as broken. following these instructions should allow you to play tf2 on your fedora device
   
奖励
收藏
已收藏
取消收藏
Installing Steam
you must be using the flatpak[flathub.org] of steam for this to work, despite this fix not originally being for the flatpak version, i tried other versions and continued to experience the same issues.

(04/16/24: these fixes seem to be working for the RPM version of Steam as well)

Installing Packages
here is what you need to put into the terminal:

sudo dnf install gperftools gperftools-devel gperftools-libs.i686

this will install some necessary packages
Fixing Audio
next, input:

sudo dnf copr enable kylegospo/hl2linux-selinux
sudo dnf install hl2linux-selinux

after doing this, i continued having issues hearing voice lines (more specifically, tf2 was unable to create decoders for the voice line mp3 files). in order to fix this, input:

sudo setsebool -P selinuxuser_execheap 1

Installing TF2
then install tf2. make sure you are using the linux version, and not the proton version (which will crash upon loading into multiplayer). steam will sometimes autoupdate tf2 and replace the linux files with proton files, which can be solved by going into properties -> compatabiliy -> force the use of steam compatability tool and checking and unchecking the box. this will reinstall linux tf2, so you will have to re-add the symlink in the next step

(1/13/24 this does not happen anymore and hasn't for awhile, but i'll leave this here in case others still have this issue!)
Adding Symlink
access the tf2 files through manage -> browse local files, go into the bin folder, and delete libtcmalloc_minimal.so.4. open the terminal in the bin folder, and enter:

ln -s /lib/libtcmalloc_minimal.so.4
Yayy! You did it
after this you should be set! this fix should allow you to play tf2, and play multiplayer if you wish!
4 条留言
Xoloitzcuintli 2024 年 2 月 7 日 下午 3:27 
Worked perfectly for me with .rpm version of steam, thanks so much!!
FluxCap 2024 年 1 月 6 日 上午 9:52 
Worked on the .RPM version. Thank you!:steamhappy:
VimChad 2023 年 11 月 2 日 下午 9:30 
Still works November 2, 2023. Thanks!
Zero 2023 年 9 月 24 日 下午 10:56 
Detailed guide. Better than mine at least in some aspects.