Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Steam in Ubuntu: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can install Steam on Ubuntu easily using the official .deb package from Valve's website or the Ubuntu Software Center. The simplest method is to download the .deb file from Steam's official site and install it with a double-click, or use the terminal with sudo apt install steam if the repository is enabled. This guide covers both methods, plus troubleshooting common issues.

What You'll Need

  • An Ubuntu system (64-bit) with an internet connection.
  • A user account with sudo privileges (admin access).
  • Graphics drivers that support OpenGL 4.5 or later (most modern GPUs do). If you have an NVIDIA card, install the proprietary driver first.
  • At least 5 GB of free disk space for Steam itself, plus space for games.

Step-by-Step

  1. Open a terminal. Press Ctrl+Alt+T or search for "Terminal" in the activities overview.
  2. Update your system packages. Run sudo apt update and then sudo apt upgrade to ensure your system is current. This avoids dependency issues.
  3. Install Steam via the Ubuntu repository (recommended). In the terminal, run: sudo apt install steam. This pulls the version from Ubuntu's official repositories. If you prefer a newer version, skip to step 4.
  4. Alternative: Download the official .deb from Valve. Open a browser, go to store.steampowered.com/about/, and click the "Install Steam" button. Save the steam_latest.deb file to your Downloads folder.
  5. Install the downloaded .deb (if you used step 4). Double-click the .deb file in your file manager, then click "Install" in the Software Center that opens. Alternatively, run sudo dpkg -i ~/Downloads/steam_latest.deb in the terminal, then fix any missing dependencies with sudo apt -f install.
  6. Launch Steam. After installation, search for "Steam" in the applications menu and click its icon. On first launch, it will update itself and then ask you to log in or create an account.
  7. Complete the initial setup. Follow the on-screen prompts. Steam will download its runtime and may ask to install additional 32-bit libraries. Accept those prompts to ensure games run correctly.
  8. Install your games. Once logged in, go to your Library, pick a game, and click "Install." Choose a location with sufficient space (the default is fine).

Common Mistakes

  • Skipping the system update. Installing Steam on an outdated system often leads to missing dependencies. Always run sudo apt update first.
  • Installing the wrong architecture. Steam is 32-bit, so on 64-bit Ubuntu you need the i386 architecture enabled. The apt install steam command handles this automatically, but if you manually download a .deb, make sure it's from the official site.
  • Forgetting to enable 32-bit architecture (if using a manual repository). If you add Valve's own repository, you must run sudo dpkg --add-architecture i386 before installing. The official .deb does this for you.
  • Using an NVIDIA card without proprietary drivers. Steam games may crash or show black screens. Install the NVIDIA driver via sudo ubuntu-drivers autoinstall or through "Software & Updates > Additional Drivers."
  • Running Steam as root. Never use sudo steam. It can corrupt your game library and is a security risk. Launch Steam as your normal user.

Tips

  • Keep Steam updated. Steam auto-updates, but if you installed via the Ubuntu repo, you'll get updates through the system updater. For the latest version, use the official .deb from Valve.
  • Enable Steam Play for Windows games. Go to Steam > Settings > Compatibility and enable "Enable Steam Play for all other titles" to run many Windows games on Linux via Proton. This is not a substitute for native Linux games, but it expands your library.
  • Use a dedicated game library location. If you have a separate drive, create a folder like /mnt/games/SteamLibrary and add it via Steam > Settings > Downloads > Steam Library Folders. This keeps your system drive from filling up.
  • Install game-specific dependencies. Some games need additional libraries like libgl1-mesa-dri or libopenal1. Steam usually installs these automatically, but if a game fails to start, check its discussion page for known Ubuntu fixes.

Troubleshooting

If Steam fails to install or run, try these in order:

  1. Check for missing dependencies. If you installed the .deb manually and got an error, run sudo apt --fix-broken install to resolve dependency issues.
  2. Restart your system. After installing graphics drivers or system updates, a reboot is often necessary.
  3. Launch Steam from the terminal to see error messages. Run steam in a terminal. If it crashes, the output will show the reason. Common errors include missing 32-bit libraries, which you can fix with sudo apt install lib32gcc1 (or lib32gcc-s1 on newer releases).
  4. Clear Steam's runtime cache. If Steam hangs on startup, close it and run rm -rf ~/.steam/ubuntu12_32/steam-runtime (this removes the runtime, which Steam will re-download). Then launch Steam again.
  5. Check your graphics driver. Run glxinfo | grep "OpenGL version" (install mesa-utils if needed). If the version is below 4.5, update your driver. For NVIDIA, use the proprietary driver from "Software & Updates."
  6. Reinstall Steam. If nothing else works, remove and reinstall: sudo apt remove --purge steam then sudo apt install steam. This preserves your game library (which is in ~/.steam and ~/.local/share/Steam), but you'll have to log in again.

Frequently Asked Questions

Can I install Steam on Ubuntu without a terminal?

Yes. Download the .deb file from Steam's website and double-click it. The Ubuntu Software Center will handle the installation. You only need the terminal if you prefer the command line or if you encounter dependency errors.

Does Steam work on Ubuntu 24.04 LTS?

Yes, Steam works on Ubuntu 24.04 LTS. The official .deb from Valve is always up to date, and the Ubuntu repository version is also compatible. Just ensure your system is updated.

Why does Steam need 32-bit libraries on a 64-bit system?

Steam itself is a 32-bit application, and many older games are also 32-bit. The 32-bit libraries (i386) are required for these to run. The installation process adds the i386 architecture automatically when you use the official method.

Can I play Windows games on Ubuntu with Steam?

Yes, using Steam Play (Proton). Enable it in Steam's settings under Compatibility. Not all games work perfectly, but many do. Check ProtonDB for compatibility reports.

Is it safe to install Steam from the Ubuntu repository?

Yes, the Ubuntu repository version is maintained by Canonical and is generally stable, though it may be slightly older than the one from Valve's website. Both are safe. The official .deb from Valve is also safe as long as you download it from store.steampowered.com.

How do I uninstall Steam completely?

Run sudo apt remove --purge steam to remove the software. To delete your game library and settings, also remove the ~/.steam and ~/.local/share/Steam folders manually. This will delete all downloaded games and screenshots, so back up anything you want to keep.