I’m trying to install steam on Ubuntu 20.04 LTS.

It downloaded everything correctly from what I can tell, but crashes upon launching. It says:

“You are missing the following 32-bit libraries, and steam may not run: libXtst.so.6 libgtk-x11-2.0.so.0”

What should I do to fix this?

  • Try sudo apt install libgtk2.0-0 and sudo apt install libxtst6 - that should create the .so's you're missing but probably won't work (or apt would have done it automatically), however it'll give you some enlightening error messages.
    – Dan Scally
    Jul 23 '20 at 5:32
  • Both say they are already the newest version, which makes me think it's something wrong with steam. Jul 23 '20 at 5:35
  • ah, try sudo apt install libgtk2.0-0:i386 - note the :i386 on the end which specifies the 32 bit version of the library. You may have to run dpkg --add-architecture i386 before that one.
    – Dan Scally
    Jul 23 '20 at 5:39
  • Well that solved the 2nd error, but the libXtst.so.6 is still not being found. Jul 23 '20 at 5:44
  • same deal: sudo apt install libxtst6:i386
    – Dan Scally
    Jul 23 '20 at 5:44

You can get the 32 bit version of those two .so's by installing these packages:

sudo apt install libgtk2.0-0:i386
sudo apt install libxtst6:i386

The ":i386" suffix specifies the 32 bit version of the package. Note that this step may be a prerequisite (it doesn't seem to be for me, but people often report that it is).

sudo dpkg --add-architecture i386

Commands Used:

  1. sudo dpkg --add-architecture i386
  2. sudo apt update
  3. sudo apt install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386 libc6-i386
  4. wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
  5. sudo dpkg -i steam.deb
  6. sudo apt -f install
  7. steam --disable-framerate-limit

these are the best commands i've found to work for me enter them in that exact order.

New contributor
HitSquadUno is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.