Arch Linux BasedManjaro

How To Install Steam on Manjaro

Install Steam on Manjaro

In this tutorial, we will show you how to install Steam on Manjaro. Steam is one of the most popular digital distribution platforms for PC gaming, offering thousands of games from AAA titles to independent creations. For Linux users, particularly those running Manjaro Linux, installing Steam opens up an impressive world of gaming possibilities. Manjaro’s Arch-based infrastructure provides a solid foundation for gaming, and with the right setup, you can enjoy a smooth gaming experience comparable to other operating systems. This comprehensive guide will walk you through everything you need to know about installing Steam on Manjaro Linux, from prerequisites to post-installation optimization.

Prerequisites for Installing Steam on Manjaro

System Requirements

  • At least a dual-core processor (quad-core recommended for modern games)
  • Minimum 4GB RAM (8GB or more recommended for better performance)
  • At least 5GB of free disk space (more needed for game installations)
  • A dedicated graphics card with updated drivers (Intel integrated graphics may work for less demanding games)

Manjaro is relatively lightweight compared to other operating systems, but gaming requires substantial resources depending on the titles you plan to play.

Updating Your Manjaro System

It’s crucial to start with an updated system before installing any new software:

sudo pacman -Syu

This command synchronizes the package databases and updates your system packages to their latest versions. Updating ensures compatibility and reduces the risk of installation issues.

Enabling the Multilib Repository

  1. Open the pacman configuration file:
    sudo nano /etc/pacman.conf
  2. Find and uncomment (remove the # from) the multilib repository section:
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    
  3. Save the file (Ctrl+O, then Enter) and exit (Ctrl+X)
  4. Update your system to incorporate the multilib repository:
    sudo pacman -Syu

Driver Installation

Proper graphics drivers are essential for gaming performance:

For NVIDIA GPU users:

sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils

For AMD GPU users:

sudo pacman -S xf86-video-amdgpu vulkan-radeon lib32-vulkan-radeon

For Intel integrated graphics:

sudo pacman -S xf86-video-intel vulkan-intel lib32-vulkan-intel

Alternatively, you can use Manjaro’s Hardware Configuration utility (mhwd) to automatically install the appropriate drivers:

sudo mhwd -a pci nonfree 0300

Method 1: Installing Steam via Command Line

Using Pacman

  1. Open your terminal using the keyboard shortcut Ctrl+Alt+T or by searching for “Terminal” in the application menu.
  2. Install Steam with the following command:
    sudo pacman -S steam
  3. The system will ask for confirmation before proceeding with the installation. Type ‘Y’ and press Enter.
  4. During installation, you may be prompted to select providers for certain dependencies. Generally, it’s best to select the default options unless you have specific requirements.

The installation process typically takes a few minutes, depending on your internet speed. Once completed, Steam will be installed on your system and ready to launch.

Installation Options and Dependencies

When installing Steam via command line, you might encounter prompts regarding optional dependencies. It’s recommended to install all optional dependencies to ensure compatibility with a wide range of games. These dependencies often include:

  • Controller support packages
  • Audio libraries
  • Additional graphics libraries
  • Video codec libraries

Command Line Troubleshooting

If you encounter issues during installation:

  1. Check if the multilib repository is properly enabled
  2. Verify your internet connection
  3. Try clearing pacman’s cache with:
    sudo pacman -Sc
  4. If package conflicts occur, try:
    sudo pacman -Syu --needed steam

Method 2: Installing Steam via GUI (Pamac)

Using Add/Remove Software

  1. Open the Manjaro application menu by clicking on the icon at the bottom left corner of your screen.
  2. Search for “Add/Remove Software” or “Pamac” and click to open it.
  3. Once the package manager opens, type “Steam” in the search bar at the top.
  4. From the search results, locate “Steam” or “Steam-Manjaro” and click on it.
  5. Click the “Install” button to begin the installation process.
  6. You’ll be prompted to enter your password for authentication. Enter it and proceed.
  7. When prompted about optional dependencies, it’s recommended to select all of them for optimal compatibility. Click “Choose” to continue.
  8. A dialog showing all the packages to be installed will appear. Review them and click “Apply” to start the installation.
  9. Wait for the installation to complete. You’ll see the progress and any messages in the package manager window.

Once the installation finishes, the “Install” button will change to “Remove” and “Reinstall,” indicating that Steam has been successfully installed on your system.

Post-Installation GUI Verification

  1. Look for the Steam icon in your application menu under “Games” or by searching for “Steam” in the application launcher.
  2. Click on the Steam icon to launch it. The first time you launch Steam, it may need to download updates.
  3. A Steam login window should appear, confirming that the installation was successful.

If Steam doesn’t appear in your application menu, try logging out and logging back in, as sometimes the desktop environment needs to update its application database.

Method 3: Installing Steam via Snap Store

Installing Snapd on Manjaro

  1. Install snapd using pacman:
    sudo pacman -S snapd
  2. Enable and start the snapd service:
    sudo systemctl enable --now snapd.socket
  3. Create a symbolic link for snap:
    sudo ln -s /var/lib/snapd/snap /snap
  4. Log out and log back in to ensure snap’s paths are updated.

Installing Steam as a Snap

  1. Open a terminal window.
  2. Install Steam using snap:
    sudo snap install steam
  3. Wait for the installation to complete. The system will display a confirmation message when finished.

Snap-Specific Configuration

When running Steam from a snap installation, you might need to address some permission-related issues:

sudo snap connect steam:home
sudo snap connect steam:joystick
sudo snap connect steam:hardware-observe

These commands ensure that Steam has the necessary permissions to function correctly in its containerized environment.

Method 4: Alternative Installation Options

Flatpak Installation

  1. Install Flatpak if not already installed:
    sudo pacman -S flatpak
  2. Add the Flathub repository:
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  3. Install Steam via Flatpak:
    flatpak install flathub com.valvesoftware.Steam
  4. Launch Steam with:
    flatpak run com.valvesoftware.Steam

Flatpak installations are contained within their own environment, which means they don’t interfere with system packages but might have some limitations regarding performance and system integration.

Pre-installed Steam

  1. Search for “Steam” in your application menu
  2. Try running steam in a terminal window

If Steam is already installed, you can skip to the post-installation setup section.

Comparing Installation Methods

Pros and Cons Comparison

Method Pros Cons
Pacman (CLI) Direct system integration, better performance, full access to system libraries May require manual updates, potential system conflicts
Pamac (GUI) User-friendly, visual dependency management, easy to use Same system integration concerns as CLI method
Snap Self-contained, automatic updates, minimal system impact May have performance overhead, permission limitations
Flatpak Self-contained, better permissions model than Snap, compatibility guarantees Larger disk space usage, potential performance overhead

Recommended Method Based on User Experience Level

  • Beginners: Pamac (GUI) installation offers the most straightforward experience
  • Intermediate users: Pacman (CLI) provides a good balance of control and simplicity
  • Advanced users: Choose based on your specific needs; CLI for performance, containerized solutions for isolation

Post-Installation Setup

First-Time Setup

  1. Launch Steam from your application menu or terminal
  2. Wait for the initial update to complete
  3. When prompted, log in with your existing Steam account or create a new one
  4. Accept the Steam subscriber agreement
  5. Allow Steam to complete its first-time setup process

During this process, Steam will configure its environment and prepare for game installations.

Install Steam on Manjaro

Steam Play Configuration

  1. Open Steam
  2. Click on “Steam” in the top-left corner
  3. Select “Settings”
  4. Navigate to “Steam Play” in the sidebar
  5. Check “Enable Steam Play for supported titles”
  6. For better compatibility (but potentially less stability), also check “Enable Steam Play for all other titles”
  7. From the dropdown menu, select the latest Proton version (or Proton Experimental for cutting-edge features)
  8. Click “OK” to save changes

This configuration allows you to install and play Windows-only games directly from your Steam library on Manjaro.

Game Library Management

  1. In Steam Settings, go to “Downloads”
  2. Click on “Steam Library Folders”
  3. Click “+” to add a new library location if needed
  4. Use the up/down arrows to set priority for game installations
  5. Click “OK” to save changes

When installing games, you can now select which library location to use, helping you manage your storage efficiently.

Optimizing Steam Gaming on Manjaro

Kernel Selection

  1. Open Manjaro Settings Manager
  2. Select “Kernel”
  3. For gaming, consider using:
    • The latest kernel for newer hardware and features
    • The LTS (Long Term Support) kernel for stability
    • The Zen kernel for performance optimizations geared toward desktop usage

The optimal kernel depends on your hardware and requirements. For most gaming setups, the latest kernel typically provides the best performance with new hardware.

Performance Tweaks

  1. Install GameMode to optimize system performance during gaming:
    sudo pacman -S gamemode lib32-gamemode
  2. Launch games with GameMode automatically through Steam by adding this to the game’s launch options:
    gamemoderun %command%
  3. For AMD GPU users, consider installing CoreCtrl for GPU performance management:
    sudo pacman -S corectrl
  4. Enable Feral GameMode in Steam by adding this to the launch options:
    LD_PRELOAD=/usr/lib/libgamemodeauto.so %command%

External Tools Integration

  1. Install Lutris for managing non-Steam games:
    sudo pacman -S lutris
  2. Add MangoHud for in-game performance monitoring:
    sudo pacman -S mangohud lib32-mangohud

    Add to Steam game launch options:

    mangohud %command%
  3. Install ProtonUp-Qt to manage custom Proton versions:
    sudo pacman -S protonup-qt

These tools provide powerful extensions to your gaming setup, offering better compatibility, performance monitoring, and control over your gaming environment.

Troubleshooting Common Steam Issues on Manjaro

Launch Problems

  1. Try launching from terminal to see error messages:
    steam
  2. Reset Steam with:
    steam --reset
  3. If Steam crashes at startup, try removing the Steam configuration:
    mv ~/.local/share/Steam ~/.local/share/Steam.old
    mv ~/.steam ~/.steam.old
    
  4. For “no such file or directory” errors, install missing libraries:
    sudo pacman -S lib32-nvidia-utils lib32-mesa

Game-Specific Issues

  1. Verify game files by right-clicking the game in Steam, selecting Properties, then Local Files, then Verify integrity of game files
  2. Try a different Proton version in the game properties (right-click the game > Properties > Compatibility)
  3. Check the ProtonDB website to see if other users have found solutions for your specific game
  4. Add these launch options for better compatibility:
    PROTON_USE_WINED3D=1 %command%

Performance Issues

  1. Disable desktop effects while gaming
  2. Lower in-game graphics settings
  3. Try using a different Proton version
  4. Make sure your system isn’t overheating (install psensor to monitor temperatures)
  5. Close background applications that might be consuming resources

Advanced Steam Configuration

Steam Launch Options

Add these parameters to Steam’s desktop shortcut or launcher for specific behaviors:

  • For better debugging information:
    steam -console
  • To skip auto-updates on launch:
    steam -noverifyfiles
  • For improved performance on some systems:
    MESA_GLTHREAD=true steam

Custom Proton Versions

  1. Install ProtonUp-Qt:
    sudo pacman -S protonup-qt
  2. Launch ProtonUp-Qt and install Proton-GE
  3. In Steam, select the newly installed Proton-GE version in the game’s compatibility settings

Steam Deck Compatibility Mode

  1. In Steam, go to Settings > Interface
  2. Check “Display Steam Deck compatibility category icons in my library”
  3. Games will now show their compatibility status with the Steam Deck, which is also a good indicator of Linux compatibility

Uninstalling Steam

Clean Removal Process

For pacman installations:

sudo pacman -Rs steam

For snap installations:

sudo snap remove steam

For Flatpak installations:

flatpak uninstall com.valvesoftware.Steam

Preserving Game Data

  1. Navigate to ~/.local/share/Steam/userdata/
  2. Copy this directory to a backup location
  3. Alternatively, use Steam Cloud for games that support it by ensuring it’s enabled in the game properties

This ensures you won’t lose your progress if you reinstall Steam in the future.

Congratulations! You have successfully installed Steam. Thanks for using this tutorial for installing the Steam on Manjaro Linux system. For additional help or useful information, we recommend you check the official Steam website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button