This topic has been locked
[SOLVED Jan 2018]Missing 32-bit libraries: LibGL.so.1 libdrm.so.2 //Had to add i386 architecture for 32 bit support.
LINUX DEBIAN 9 with AMD64 Architecture has these errors.
Hi, I'm using Kali Linux Debian 9 2017.3.2 (kali-rolling)
This works for all debian linux including mine.
SOLUTION :steamhappy:
  • Check your default Architecture by using:
    sudo dpkg --print-architecture
  • You will get your default Architecture which would be amd64.
  • We need to add i386 Architecture.
    Use this code:
    sudo dpkg --add-architecture i386
  • Just to verify that it has been added successfully, use this code:
    sudo dpkg --print-foreign-architectures
  • If it has been added, proceed to update in order to get the 32 bit packages.
    Use Code:
    sudo apt update
  • Now try installing steam from the updated repository.
    sudo apt-get install steam
  • Since steam is not permitted to run as root by default.
    It is advised to run steam as a non-root user.
    Just create a non-root user and run steam from that, you should be okay.

    If you are persistent, follow these steps:
    1. Open /usr/bin/steam
      nano /usr/bin/steam
    2. Comment or Delete these lines:
      if [ "$(id -u)" == "0" ]; then
      show_message --error $"Cannot run as root user"
      exit 1
      fi
    3. Open steam.:steamhappy::steamhappy::steamhappy:
You should be fine after this. If not, comment here and I'll try to solve it further.:steamhappy:
Last edited by xDiscoPotatox; Jan 11, 2018 @ 9:36pm
< >
Showing 1-6 of 6 comments
Parrah Feb 9, 2018 @ 4:18pm 
ty soo much!! :v that works fine
xDiscoPotatox Feb 10, 2018 @ 12:38am 
Originally posted by Jacko Nitrio:
ty soo much!! :v that works fine
Glad to help you out mate. :D
YourUserName Feb 16, 2018 @ 11:56am 
Omg thank u so much i have been trying to figure this out for so long and it actually worked :t39trophy:
xDiscoPotatox Feb 16, 2018 @ 1:27pm 
Originally posted by YourUserName:
Omg thank u so much i have been trying to figure this out for so long and it actually worked :t39trophy:
Glad to help you mate!
kauffman_ Mar 24, 2018 @ 1:43pm 
It doesn't work for me.

Failed to parse arguments: Option "--disable-factory" is no longer supported in this version of gnome-terminal.
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Package libc6:i386 needs to be installed
Running Steam on debian 9 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libdrm.so.2
Installing breakpad exception handler for appid(steam)/version(1521764535)
Installing breakpad exception handler for appid(steam)/version(1521764535)
Installing breakpad exception handler for appid(steam)/version(1521764535)
Failed to load steamui.so - dlerror(): libGL.so.1: wrong ELF class: ELFCLASS64
Installing breakpad exception handler for appid(steam)/version(1521764535)
Installing breakpad exception handler for appid(steam)/version(1521764535)
[2018-03-25 02:32:52] Startup - updater built Mar 22 2018 16:58:36
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2018-03-25 02:32:52] Checking for update on startup
[2018-03-25 02:32:52] Checking for available updates...
[2018-03-25 02:32:52] Download skipped by HTTP 304 Not Modified
[2018-03-25 02:32:52] Nothing to do
[2018-03-25 02:32:52] Verifying installation...
[2018-03-25 02:32:52] Performing checksum verification of executable files
[2018-03-25 02:32:53] Verification complete
[2018-03-25 02:32:56] Shutdown

My steam.conf
1 /usr/lib32
2 /usr/lib/i386-linux-gnu/mesa

But this directory /usr/lib/i386-linux-gnu/mesa doesn't exist.

I have Debian Stretch.
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jan 11, 2018 @ 9:15pm
Posts: 6