2

I'm getting the following errors:

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

You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1

1
  • 1
    can you add more details? how you tried to install steam?
    – Ravan
    Commented Jan 10, 2016 at 2:46

3 Answers 3

5

The workaround is

Open terminal and run:

sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386

Now run:

sudo apt-get update
sudo apt-get install steam

EDIT:

First you need to configure a new foreign architecture to install steam.

Open terminal and run:

sudo dpkg --add-architecture i386
sudo apt-get update

Now, sudo dpkg --print-foreign-architectures #now this should return i386

Now continue above steps exactly.

Note:

Make sure trusty-updates is enabled in Software & Updates

Imgur

10
  • It says: "Package libgl1-mesa-dri-lts-vivid:i386 is not available, but is referred to by another package. (...) However the following packages replace it: libgl1-mesa-glx-lts-vivid"; "Package libgl1-mesa-glx-lts-vivid:i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source"; E: Package 'libgl1-mesa-dri-lts-vivid:i386' has no installation candidate; E: Package 'libgl1-mesa-glx-lts-vivid:i386' has no installation candidate
    – mykahveli
    Commented Jan 10, 2016 at 13:10
  • I did sudo dpkg --add-architecture i386 and now I'm having: Unable to locate packages: libgl1-mesa-dri-lts-trusty and libgl1-mesa-glx-lts-trusty.
    – mykahveli
    Commented Jan 10, 2016 at 14:10
  • why you changed to trusty? run the exact commands. what is output of uname -r. btw how you tried to install steam? by using the terminal command?
    – Ravan
    Commented Jan 10, 2016 at 14:51
  • Sorry, I mixed trusty and vivid. The workaround gives this. sudo dpkg --print-foreign-architectures returns i386. I installed by sudo apt-get install steam. Funny thing: trusty-updates unticks by itself after entering password!
    – mykahveli
    Commented Jan 10, 2016 at 15:52
  • Please add output of apt-cache policy libglapi-mesa-lts-vivid:i386 libqt5gui5 libcgmanager0 libudev1 libgl1 libgl-mesa-glx to pastebin.ubuntu.com . Also run sudo apt-get install -f and add output if you have any errors.
    – Ravan
    Commented Jan 12, 2016 at 2:34
0

In the most recent version of Elementary (6, Odin) I installed Steam using the Flatpak version and it worked well. The problem was that when I wanted to use Steam Play (trying to emulate Windows using Proton) my game wouldn't launch (I was trying to play The Secret of Monkey Island Special Edition.

It turns out Proton doesn't really play well with the Flatpak version of Steam, so I had to install Steam from the official .deb on https://store.steampowered.com/about/.

Installing via the .deb (I used Eddy) leaves a bunch of dependencies out. Here's what worked for me:

sudo dpkg --add-architecture i386
sudo apt-get update

And for the 32-bit drivers

sudo apt-get install libc6-i386
sudo apt-get libgl1:i386 libdrm2:i386

I hope this helps anyone trying to install Steam in 2021.

-1

Download and install the latest drivers from NVIDIA. During the NVIDIA driver installation it asks if you want to install the 32bit libraries. Select yes.

1
  • My graphics is: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b). It would work?
    – mykahveli
    Commented Jan 10, 2016 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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