Steam install on Ubuntu gnome [solved]

Been trying everything to get it to install and run but steam won't run on Ubuntu gnome for some reason. Any help is appreciated.

have you tried this within the terminal?

Tried it in the terminal and through the deb install from the site. Nothing seems to be working so I'm reinstalling vanilla ubuntu replacing ubuntu gnome.

Na this seems to be an issue on pretty much any flavor of Ubuntu.
Idk why its such an issue to get steam installed on Ubuntu the easy way.
I think that there are a couple of tutorials to get steam to work on ubuntu.
I never had any issues installing steam on any other distros except for ubuntu.

Seems to change a lot. Sometimes it installs but doesn't launch or it brings up errors about being unable to get steam data.

Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

That is what I am getting in the terminal.

Do you have an NVidia card? What driver do you have installed?

It's an amd apu based laptop with the proprietary drivers for it installed.

I also get the same error trying to run it on my gtx 770 based rig for some reason.

I had this exact issue, trying to remember how to fix it.
If I remember Ill tell you.

Try

find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete

It's not a driver related issue. The steam client ships with its own runtime, a set of libraries required by most games as dependencies. Problem is, those libraries are very very old (based on ubuntu 12.04). That's why they cause troubles. Again it's not a driver issue.

The command above deletes the libraries that cause troubles. If you want to disable the steam runtime and use the updated libraries installed in your system, run steam with:

STEAM_RUNTIME=0 steam

If it complains that some libraries are missing, you have to identify them by doing:

cd ~/.local/share/Steam/ubuntu12_32
LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq

and install them. Run steam again with STEAM_RUNTIME=0 steam and verify it is not loading anything outside of the handful of steam support libraries:

for i in $(pgrep steam); do sed '/\.local/!d;s/.*  //g' /proc/$i/maps; done | sort | uniq

Thanks. I'll try that and see if it works.

Here is where the installation stopped

~/.local/share/Steam/ubuntu12_32$ STEAM_RUNTIME=0 steam
Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is disabled by the user
Error: You are missing the following 32-bit libraries, and Steam may not run:
libXtst.so.6
libXrandr.so.2
libgobject-2.0.so.0
libglib-2.0.so.0
libgtk-x11-2.0.so.0
libpulse.so.0
libgdk_pixbuf-2.0.so.0
Installing breakpad exception handler for appid(steam)/version(1468023329)
Installing breakpad exception handler for appid(steam)/version(1468023329)
[2016-07-13 10:23:01] Startup - updater built Jul 8 2016 21:43:51
[2016-07-13 10:23:01] Verifying installation...
[2016-07-13 10:23:01] Verification complete
[2016-07-13 10:23:04] Shutdown

Running the process over again brings up

libasound.so.2 => not found
libatk-1.0.so.0 => not found
libcairo.so.2 => not found
libcups.so.2 => not found
libdbus-1.so.3 => not found
libdbus-glib-1.so.2 => not found
libfontconfig.so.1 => not found
libfreetype.so.6 => not found
libgconf-2.so.4 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgio-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libICE.so.6 => not found
libnm-glib.so.4 => not found
libnm-util.so.2 => not found
libnspr4.so => not found
libnss3.so => not found
libnssutil3.so => not found
libopenal.so.1 => not found
libpango-1.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libpulse.so.0 => not found
libsmime3.so => not found
libSM.so.6 => not found
libudev.so.0 => not found
libusb-1.0.so.0 => not found
libXcomposite.so.1 => not found
libXcursor.so.1 => not found
libXinerama.so.1 => not found
libXi.so.6 => not found
libXrandr.so.2 => not found
libXrender.so.1 => not found
libXss.so.1 => not found
libXtst.so.6 => not found

Any way of easily installing these?

Did you try deleting the libs first?
find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete then start steam, without the runtime option. Just steam in a terminal.

Are you installing it though apt-get?

Tried both the DEB file and apt-get. Only apt-get seems to work at all on my laptop and desktop.

Using the .deb file is asking for troubles. So yeah better use the package manager.

That got it working. Thanks for all the help.

1 Like

Oh, as a remainder, you may want to bookmark it, because everytime that steam updates its runtime, it'll reinstall the libraries, resulting in the same error. So save the command somewhere.

I'm surprised this is required in ubuntu. fyi, you can also use steam --reset to refresh your steam install that sometimes fixes things when theirs weird errors. Otherwise new ubuntu versions must require the above command now.