Skip to content

Instantly share code, notes, and snippets.

@mattbell87
Last active October 31, 2024 19:49
Show Gist options
  • Save mattbell87/137f49baa3b8e2ad497758c9dd84bb19 to your computer and use it in GitHub Desktop.
Save mattbell87/137f49baa3b8e2ad497758c9dd84bb19 to your computer and use it in GitHub Desktop.
How to install Steam on Fedora

Installing Steam on Fedora

These instructions are currently for Fedora 30. I'll update them over the releases if anything changes.

Open Software

Press the Win/Super key, type software and press Enter.

Enable the Third party and Steam repositories

Click the Menu Button (☰) and choose Software Repositories. Now enable "Third Party Software" and "RPM Fusion ... Steam"

Open a terminal

Press the Win/Super key, type terminal and press Enter.

Make sure your system is up to date

sudo dnf update --refresh

Also it doesn't hurt to reboot to make sure you're on the latest linux kernel.

Install the steam package

sudo dnf install steam -y

Open steam

You can either open it from Activities or press the Win/Super key, type steam and press Enter.

Accept the agreement and it'll download the latest version of Steam.

Any problems?

Feel free to comment below.

@j3susflores
Copy link

sudo dnf install steam -y
Last metadata expiration check: 0:00:32 ago on Mon 14 Oct 2019 01:39:52 AM CDT.
No match for argument: steam
Error: Unable to find a match

@mattbell87
Copy link
Author

Hey @shaggychan did you enable third party repos? That's the error that shows up when you haven't done that.

@chunga2020
Copy link

chunga2020 commented Nov 30, 2019

I ran all the steps up to, and including, sudo dnf install steam -y. It failed with

You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
 file "repomd.xml" was not found in metalink

Ideas? Standard Fedora 31

@mattbell87
Copy link
Author

That's odd, it worked on Fedora 31 for me, installed it fresh just now. I wonder if there's something odd happening with your repos.

Try installing all your updates first, also check what repos you have enabled. If you upgraded from an older version of Fedora maybe theres some old repo thats messing things up.

There might be some info on this page that could help - https://forums.fedoraforum.org/showthread.php?308393-dnf-fails-to-update

@MadDogofShimano
Copy link

I ran all the steps up to, and including, sudo dnf install steam -y. It failed with

You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
 file "repomd.xml" was not found in metalink

Ideas? Standard Fedora 31

I actually made a GitHub account because I wanted to tell you how I (possibly) figured it out lol

When you click the Triple Stack/Layer button, after attempting to install the steam package, go back to the button and you will see the RPM Fusion Steam repository there. Make sure to click and check enabled.

@cascer1
Copy link

cascer1 commented Mar 2, 2020

I'm having a hard time installing this. Whenever I try, I get a whole lot of conflicting files like this:

file /usr/share/doc/glibc/NEWS from install of glibc-2.30-10.fc31.i686 conflicts with file from package glibc-2.30-5.fc31.x86_64

What can I do to resolve this issue?

@abhishekKumar1
Copy link

@cascer1 I am facing the same issue, did you get any solution for this?

@abhishekKumar1
Copy link

I'm having a hard time installing this. Whenever I try, I get a whole lot of conflicting files like this:

file /usr/share/doc/glibc/NEWS from install of glibc-2.30-10.fc31.i686 conflicts with file from package glibc-2.30-5.fc31.x86_64

What can I do to resolve this issue?

I found the problem with my system. The problem was with dnf upgrade had failed to complete previously. So I re-installed all the packages and then installed steam. Commands:

# package-cleanup --cleandupes
# dnf install steam

You can read more about this in this answer https://superuser.com/questions/994151/conflicts-between-new-32-bit-and-old-64-bit-packages-when-installing-rpmfusions

@mattcristal
Copy link

It worked well for me, thanks :)

@NicoHag
Copy link

NicoHag commented Apr 30, 2020

Hello.
I'm new at Linux, and I just installed it on Fedora Workstation 32 without any issues.
Thanks!

@Pverte
Copy link

Pverte commented May 15, 2020

$ steam
Running Steam on fedora 31 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/pverte/.local/share/Steam/ubuntu12_32/steam
[2020-05-15 11:24:42] Startup - updater built Feb 11 2020 19:26:28
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0)
/home/pverte/.local/share/Steam/steam.sh : ligne 722 : 15855 Segmentation fault      (core dumped)$STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

Can somebody help me ?

@mrjohnc
Copy link

mrjohnc commented Aug 14, 2020

Please could you include uninstall instructions on this page including deleting any directories? I've found that uninstalling Steam games leaves a lot of space taken up, this happens even if I uninstall Steam

Copy link

ghost commented Sep 10, 2020

This didn't work for me. Don't know what I was doing wrong, but this is what I ran that installed it correctly.

sudo dnf update; sudo dnf upgrade; sudo dnf install fedora-workstation-repositories; sudo dnf config-manager --set-enabled rpmfusion-nonfree-steam; sudo dnf install steam.i686; sudo dnf update; sudo dnf upgrade; sudo dnf autoremove; reboot

May be overkill for some people, but it covers all the bases in my opinion.

@legotrucks1
Copy link

i'm a newbie in linuxland so i'd like to know what sudo dnf update --refresh does, especially the "update --refresh" part

@yzhou216
Copy link

Successfully installed.
Thank you!

@adityamwagh
Copy link

adityamwagh commented Sep 27, 2020

i'm a newbie in linuxland so i'd like to know what sudo dnf update --refresh does, especially the "update --refresh" part

Hey @legotrucks1

That command will fetch the list of all packages and check whether any new ones are available, and update them if that's the case.

TIP Try to always use sudo dnf upgrade --refresh since it will clear obsolete packages so that they won't create any issue in future.

@cuvtixo
Copy link

cuvtixo commented Dec 14, 2020

i'm a newbie in linuxland so i'd like to know what sudo dnf update --refresh does, especially the "update --refresh" part

I don't regularly use Fedora myself, but I'd suggest searching answers at a place like https://manjaro.site/linux-ultimate-guide/fedora-tutorial/ I don't want to be unfriendly, but asking about sudo dnf update is a really basic question that you probably shouldn't be asking on a Github Gist site. Most newbie-friendly distros use "sudo apt update" and it will be explained near the beginning of any Debian-derived (and therefore Ubuntu-derived) introductory text. Okay honey?

@feldim2425
Copy link

I don't know why. But I can't run games using Proton when using the default Desktop Launcher, only when using the terminal to start steam. If I use the desktop launcher the games will immediately stop again. Running Linux native games works fine.

@RomanDovgii
Copy link

Well, Steam starts but doesn't show its UI. Strange thing.

@FrogmanFL
Copy link

The command sudo dnf install steam -y wil not work for Fedora 34 server. the page did not say if it was for workstation or server. I'm running the server, using ssh login page

@pandal34r
Copy link

└─[$] <> sudo dnf install steam -y
Last metadata expiration check: 0:00:48 ago on Thu 31 Oct 2024 09:15:08 AM WIB.
No match for argument: steam
Error: Unable to find a match: steam

HELP!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment