After the 1948278201th time of having to apply this patch manually after a CSGO update I decided it's time for a script. In essense this script will:
- Detect the distribution
- Install the respective
libtcmalloc
via the disto's package manager. - Search the lib paths to find the location of
libtcmalloc_minimal.so.4
- Copy it into the
GAMEROOT/bin/linux64
path.