Linux Hint Posted January 2 Share Posted January 2 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 How to Run Steam on Debian 12 How to Remove Steam from Debian 12 Conclusion How to Install Steam on Debian 12 You can install Steam on Debian 12 from: Debian Official Repository Deb Package Steam Repository Snap Store Flatpak 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. View the full article Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.