Announcement

Collapse
No announcement yet.

How to Install Steam on Debian 12 Bookworm

Collapse
X
Collapse
  •  

  • How to Install Steam on Debian 12 Bookworm

    Steam is a popular gaming platform developed by the Valve Corporation that allows you to purchase, download, install and play games. It provides features like automatic updates, matchmaking and community forums for solving problems related to software. Besides that, you can also use Steam to interact with other players and developers since it has a wide community support.
    In this guide, you will learn:
    How to Install Steam on Debian 12

    You can install Steam on Debian 12 from:
    Before installing Steam on Debian 12, you should add i386 architecture; it allows you to run 32-Bit applications on 64-Bit system. Further, you should also install some dependencies that are needed for Steam installation throughout this article.

    How to Add 32-Bit Support on Debian 12

    To add a 32-Bit support to Debian 12, run the following command:

    sudo dpkg --add-architecture i386


    How to Install Dependencies for Steam on Debian 12

    To install dependencies needed for running Steam on Debian 12, use the following command:

    sudo apt install libgl1-mesa-dri:i386 mesa-vulkan-drivers:i386 -y




    How to Install Steam on Debian 12 from Debian Repository

    Debian 12 official repository has included the Steam packages that allow users to install the application directly from the apt command given below:

    sudo apt install steam:1386 -y




    How to Install Steam on Debian 12 Through Deb Package

    Beside using the apt package manager to install Steam, you can download a Deb package on your Debian system and install Steam through it. Follow the below-given steps to install Steam on Debian 12 from the Deb package:

    Step 1: Download Steam Deb Package on Debian

    For downloading the Deb package on Debian, you must use the wget command with the link to download the Steam Deb package, as given below:

    wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb




    Step 2: Install Steam on Debian from Deb Package

    To install Steam on Debian from the Deb package, use apt install command with the dot-slash and the file name followed by -y flag to approve the installation:

    sudo apt install ./steam.deb -y




    How to Install Steam on Debian 12 from Steam Repository

    You can also add Steam repository in Debian 12 to install the latest version of Steam on your system, this can be done using the following steps:

    Step 1: Add GPG Key to Debian

    First you have to add GPG key to Debian 12 using the below-given command for authenticating the external Steam repository:

    curl -s http://repo.steampowered.com/steam/archive/stable/steam.gpg | sudo tee /usr/share/keyrings/steam.gpg > /dev/null


    Step 2: Add Steam Repository to Debian

    After adding the GPG key, you can now add Steam repository to Debian 12 using the below-given command:

    echo deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] http://repo.steampowered.com/steam/ stable steam | sudo tee /etc/apt/sources.list.d/steam.list




    Step 3: Update Repository

    You must update the Debian repository using the following command so that the newly added repository should be added to the system successfully:

    sudo apt update


    Step 4: Install Steam on Debian 12

    After successfully adding the repository, you can then install Steam on Debian with required packages from the following command:

    sudo apt install libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-glx:i386 steam-launcher -y




    How to Run Steam on Debian 12

    After completing the installation from any of the above methods, you can run Steam on Debian from terminal using the following command:

    steam




    Or you can open Steam on Debian 12 from the application menu:



    Sign in to your Steam account, or you can Create a Free Account if you don’t have any. You can also scan a QR code from the Stream mobile app to connect your account:



    While running Steam on Debian, you may see the following warning: “The packages cache seems to be out of date”. You have to press Enter to update the list and begin the installation of packages that needs to be upgraded:



    How to Fix couldn’t import apt, please install python3-apt or update steamdeps for your distribution

    While running Steam on Debian 12, if you have encountered the error “couldn’t import apt, please install python3-apt or update steamdeps for your distribution”:



    You can fix it using the following steps:

    Step 1: Install Package Management Runtime Library on Debian

    You have to install package management runtime library on your Debian system as a dependency for the method we will perform later on:

    sudo apt install libapt-pkg-dev




    Step 2: Clone and Navigate to python-apt Source Directory

    Now use the following command to clone the python-apt source directory from the GitHub and navigate to the directory:

    git clone https://salsa.debian.org/apt-team/python-apt && cd python-apt




    Note: You can install Git on Debian 12 from the following command:

    sudo apt install git


    Step 3: Install Setup Tools on Debian

    You must also install setuptools module that are needed for building python packages on Debian, you can install it from the following command:

    pip3 install setuptools




    Step 4: Build Python Packages on Debian

    Now inside the python-apt directory, you must run the setup.py file with the python interpreter and the build command, as given below:

    python3 setup.py build




    Step 5: Install Python Packages on Debian 12

    After building the packages, you can run the following command to install Python packages on your Debian system:

    python3 setup.py install




    Step 6: Run Steam on Debian 12

    You can then run the steam command again to launch the Steam application on your Debian system:

    steam




    How to Remove Steam from Debian 12

    You can completely remove Steam from Debian 12 installed through any of the above-given methods using the following command:

    sudo apt autoremove steam steam-launcher -y




    How to Install Steam on Debian from Snap Store

    To install Steam on Debian 12 from Snap Store, use the following steps:

    Step 1: Install Snap Daemon on Debian 12

    First, ensure Snap Daemon is installed on Debian, if not install it from the following command:

    sudo apt install snapd -y




    Step 2: Install Steam from Snap Store

    Then use the below-given command to install Steam on Debian 12 from the Snap Store:

    sudo snap install steam




    Step 3: Reboot the System

    After installing Steam through Snap Store, you must reboot your Debian system so that the application will be available in the application menu. You can then run Steam on Debian from the application menu, as mentioned earlier in the above methods.

    How to Remove Steam from Snap Store

    In case you no longer need Steam installed through Snap Store, you can remove it anytime using the command given below:

    sudo snap remove steam


    How to Install Steam on Debian 12 from Flatpak

    A Flatpak is another external package manager that you can install on Debian from the official repository and install Steam through it. Use the steps provided below to install Steam on Debian 12 from Flatpak:

    Step 1: Install Flatpak on Debian 12

    First, install Flatpak on Debian 12 from the following apt command:

    sudo apt install flatpak -y




    Step 2: Add Flathub Repository on Debian 12

    You must also add flathub repository on Debian from the following command since it will help you install flatpak applications on your system:

    flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo




    Step 3: Install Steam on Debian 12 from Flatpak

    Once the flathub repository is added, you can then install Steam on Debian 12 from the following command:

    flatpak install flathub com.valvesoftware.Steam




    Step 4: Run Steam on Debian 12 from Flatpak

    After completing the Steam installation through Flatpak, you can then run the application on Debian from the below-given command:

    flatpak run com.valvesoftware.Steam




    How to Remove Steam from Debian 12 Using Flatpak

    To remove Steam from Debian 12 installed through Flatpak, you can use the following command:

    flatpak uninstall com.valvesoftware.Steam




    Conclusion

    Steam is a popular video gaming digital distribution service used for downloading, installing and playing games on the system. You can install Steam on Debian 12 from the source repository, deb package, or adding Steam repository. You can also use external package managers like Snap Store or Flatpak to install Steam on Debian 12. This article has covered the methods to install, run and remove Steam from Debian 12 through multiple methods. You can choose any installation method and seamlessly download, install and run games on your Debian system.





    More...
      Posting comments is disabled.

    Categories

    Collapse

    Article Tags

    Collapse

    There are no tags yet.

    Latest Articles

    Collapse

    • Why Linux Is The Open Source Backbone of Decentralized Applications (dApps) and Cryptocurrencies
      by Kasimba



      by George Whittaker


      Introduction

      Blockchain technology and Linux, while seemingly different, share a foundational philosophy: openness, security, and decentralization. Linux, an open source operating system, powers an immense range of devices, from servers to embedded systems, due to its stability, security, and flexibility. Blockchain, meanwhile, is a decentralized ledger technology that stores data in a secure,...
      10-31-2024, 04:51 PM
    • Unlocking Data Science Potential Understanding Machine Learning and Data Analysis with JupyterLab
      by Kasimba



      by George Whittaker


      Introduction

      In recent years, JupyterLab has rapidly become the tool of choice for data scientists, machine learning (ML) practitioners, and analysts worldwide. This powerful, web-based integrated development environment (IDE) provides a flexible and interactive workspace for performing data analysis, machine learning, and visualization, making it indispensable for professionals and enthusiasts...
      10-29-2024, 04:00 PM
    • Hardening Linux Servers Against Threats and Attacks
      by Kasimba



      by George Whittaker


      Introduction

      Linux servers are known for their reliability and security, which has made them popular in both enterprise and individual deployments. However, no system is impervious to attacks. With cyber threats evolving constantly, server administrators must adopt proactive measures to secure their systems against vulnerabilities and attacks. This guide dives into a range of hardening techniques...
      10-25-2024, 01:50 PM
    • Crafting a Custom Linux Kernel for Your Embedded Projects
      by Kasimba



      by George Whittaker


      Introduction

      Embedded systems have become a cornerstone of modern technology, powering everything from IoT devices to automotive control systems. These specialized systems rely on software that is lightweight, efficient, and highly optimized for specific hardware configurations. At the heart of this software stack lies the Linux kernel, which is widely used in embedded devices due to its...
      10-23-2024, 05:30 AM
    • The Evolution of Linux Package Management and Its Impact on Modern Computing
      by Kasimba



      by George Whittaker


      Introduction

      If you’ve ever used a modern Linux distribution, you’ve likely experienced the convenience of installing and updating software with a single command. Package managers, the tools behind this ease of use, have become a cornerstone of the Linux ecosystem, providing a structured and efficient way to manage software. However, the history of Linux package management is a long...
      10-21-2024, 10:23 PM
    • A Simple Overview of GRUB Bootloader Configuration
      by Kasimba



      by George Whittaker


      Understanding the intricacies of the Linux boot process and the GRUB bootloader configuration is essential for system administrators, developers, and Linux enthusiasts who want to harness the full potential of their operating systems. This article provides an exploration of the boot sequence in Linux systems, highlighting the role of GRUB and offering practical insights into its configuration and customization....
      10-17-2024, 09:00 PM
    Working...
    X