Steam for Linux

Steam for Linux

temps 16 Sep, 2024 @ 6:55am
Problems Installing Steam .deb On Ubuntu 24.04 LTS
I was trying to install the .deb version of Steam (if I understand things correctly) using the terminal on Ubuntu 24.04 LTS but encountered some issues. Steam support forwarded my inquiry to a Steam developer forum, and it's been what seems like a week or more since I've heard from Valve on the topic:

https://github.com/ValveSoftware/steam-for-linux/issues/11249

It seems the only version of Steam I've been able to get installed and running is the Snap version, but I don't want to install that because apparently the Snap version was causing an error I was experiencing with SteamVR according to an article someone here posted a while ago (which also instructed me to avoid the flatpack version for the same reason).

Should I keep trying to install the .deb, or should I try distrohopping? I had some other issue with the audio on a certain pair of headphones when I tried Linux a few years ago and was pleasantly surprised to find distrohopping to Ubuntu 24.04 LTS seems to have fixed it with no tinkering on my end... so maybe distrohopping again is the answer?

I tried all the things the Valve guy at the github link suggested... none of them got the .deb to install successfully and, yeah, as mentioned... haven't heard from them in a while. And I notice there isn't a lot of Valve dev (or support) activity in other people's threads either.

What should I do now?
< >
Showing 1-8 of 8 comments
NightKnight 16 Sep, 2024 @ 8:00am 
maybe just typne in terminal this thing :
sudo apt install flatpak

than restart and open this link


https://flathub.org/apps/com.valvesoftware.Steam
temps 16 Sep, 2024 @ 8:27am 
Originally posted by NightKnight:
maybe just typne in terminal this thing :
sudo apt install flatpak

than restart and open this link


https://flathub.org/apps/com.valvesoftware.Steam

Maybe just read the post before typing a reply? I already said Steam says not to install with Snap or flatpack because of issues it causes with SteamVR.
HighBall 16 Sep, 2024 @ 10:15am 
I just did a fresh install of 24.04 the other week.

sudo apt install steam-libs-i386
this is definitely what you need. Here is what I have installed.
steam/noble,now 1:1.0.0.79~ds-2 i386 [installed] Transitional package for Steam steam-devices/noble,noble,now 1:1.0.0.79~ds-2 all [installed,automatic] Device support for Steam-related hardware steam-installer/noble,now 1:1.0.0.79~ds-2 amd64 [installed,automatic] Valve's Steam digital software delivery system steam-libs/noble,now 1:1.0.0.79~ds-2 amd64 [installed,automatic] Metapackage for Steam dependencies steam-libs-i386/noble,now 1:1.0.0.79~ds-2 i386 [installed,automatic] Metapackage for 32-bit Steam dependencies

this error
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend
sounds like a UI app store or the software updater is currently running, or more likely, was running and never released it's lock. I've had that occasionally happen to me in the passed (maybe hand full of times in 20 years). Usually, I try close every application, reboot, apt update and apt upgrade and if all that fails to reset the lock files situation, I just delete the lock files, but that can also corrupt the package managers DB. See here[wiki.debian.org]
Which recommends
sudo fuser -vki -TERM /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend sudo dpkg --configure --pending

As a last resort, kill the frontend lock file. I mean, what else can you do? You can read some discussion about it here[askubuntu.com] It's the second answer you want to read with 955 upvotes.

-----------------------------------
As suggested in your github discussion here[github.com]
download the .deb file and then
sudo dpkg -i /path/to/steam-installer.deb

But I think you will still run into the lock file issue.
Last edited by HighBall; 16 Sep, 2024 @ 10:34am
grzegorz77 16 Sep, 2024 @ 11:59am 
If the excellent advice from HighBall is too much for you, and you can't do it. You want to give up (however, I encourage you to try it).
You can try pop-os (graphics driver included), mint, manjaro there it will be easier. The Steam package will be included in the distribution.
grzegorz77 16 Sep, 2024 @ 3:10pm 
You can get help with commands by typing in the console: man the name of the command.
man dpkg

Shutting down the console ends all its processes, it's a bad idea to close it when you're in the middle of doing something from the root (sudo) account.
Here it works a little differently than in windows, the ending with a cross is quite brutal.

Ok I'm reading, your git hub help thread.
I understand what is going on, you are in a big shock and you do not understand what is happening. Just read what the programs write to you, read carefully and with concentration. In linux, the program doesn't write nonsense to you, it's all important things and helpful tips. If you had read and followed the suggested tips, in the first attempt, you would not have had a problem. But you closed the window halfway and locked the packet database.

sudo dpkg --configure -a
The advice apt gave you is what you should do first.
As you can read in man dpkg, this will finish configuring the packages you left off and unlock the apt database.

Kisak-Valve has given you a good factual answer, hats off to him.
I didn't think that in valve help you can get such a good answer about linux.
Unfortunately, a bit too complicated for you ;P :p2chell:


Hey, it's simple, do it slowly and carefully.
In principle, always using root privileges your steps should be in the utmost caution.
In linux as root, nothing will ask you if you are sure. The commands will simply be executed if possible.


Slowly, calmly, forward :p2chell:

edit:
sudo dpkg --configure --pending
sudo dpkg --configure -a
it's the same command typed in two different ways
Last edited by grzegorz77; 16 Sep, 2024 @ 3:11pm
Monarch 18 Sep, 2024 @ 2:17am 
Originally posted by NightKnight:
maybe just typne in terminal this thing :
sudo apt install flatpak

than restart and open this link


https://flathub.org/apps/com.valvesoftware.Steam
DO NOT USE FLATPAK!!!!!!!!!!!!!!!!!!!!!!!!!
for ubuntu:

sudo add-apt-repository multiverse
sudo apt update
sudo apt upgrade
sudo apt install steam
temps 18 Sep, 2024 @ 2:58pm 
Okay, read through these and got it working! Thanks. Passed around some Steam points for helping explain this.
grzegorz77 18 Sep, 2024 @ 4:28pm 
Originally posted by temps:
Okay, read through these and got it working! Thanks. Passed around some Steam points for helping explain this.

I don't want to be rude, but it seems that the best answer came from Differson Midly. Of all of us, he probably knows ubuntu the best.



Originally posted by Differson Midly:
Originally posted by NightKnight:
maybe just typne in terminal this thing :
sudo apt install flatpak

than restart and open this link


https://flathub.org/apps/com.valvesoftware.Steam
DO NOT USE FLATPAK!!!!!!!!!!!!!!!!!!!!!!!!!
for ubuntu:

sudo add-apt-repository multiverse
sudo apt update
sudo apt upgrade
sudo apt install steam


Information I used to find out what a multiverse repository is:
https://askubuntu.com/questions/89096/how-do-i-enable-the-multiverse-repository#553847

I manually went to the archive:
http://us.archive.ubuntu.com/ubuntu/pool/multiverse/s/steam/

Direct path to the valve repository for the curious:
http://repo.steampowered.com/steam/pool/steam/s/steam/


If you downloaded steam from the valve website, you should definitely add this multiverse repository. You can do it right now, nothing will break.
(You can execute all 4 command lines)
Last edited by grzegorz77; 18 Sep, 2024 @ 4:32pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: 16 Sep, 2024 @ 6:55am
Posts: 8