Skip to content

Python Program that downloads gaming required packages based on your Linux Distribution.

License

Notifications You must be signed in to change notification settings

ahmed-al-balochi/LibreGaming

Repository files navigation

LibreGaming

Python Program that downloads gaming required packages based on your Linux Distribution.

LibreGamingQt

Downloads PyPI Support me on Patreon

Table of contents

للعربية

بسبب مشكلة إستخدام العربية في قيت_هوب قمت بعمل مقال يشرح كل تفاصيل البرنامج على مدونتي.

Distributions:

  • I tested this script on these distributions. but it should also work on their derivatives too.
  1. Ubuntu(Tested also on Linux Mint, Pop_OS!).
  2. Arch Linux.
  3. Fedora.
  4. OpenSUSE Tumbleweed.

Prerequisites:

  • You need your drivers installed beforehand for maximum performance under Linux. you can install them by going to this page

  • To run this LibreGaming script you need python3 installed if not already. to install python3 click Here.

  • Also you need to enable free and nonfree packages if you are using Fedora to install steam. You can find the commands to enable free and nonfree packages for Fedora here:

  • For OpenSUSE Tumbleweed you need to enable packman repos to install Steam and other packages. You can find that here

  • If you are using Arch Linux or an Arch based system you need to enable 32bit packages found in multilib repo you can enable it by going to this Arch wiki page.

Dependencies:

  • git
  1. Install git For Ubuntu:
sudo apt install git
  1. Install git For Arch Linux:
sudo pacman -S git
  1. Install git For Fedora:
sudo dnf install git
  1. Install git For OpenSUSE Tumbleweed:
sudo zypper install git
  • python3
  1. Install Python3 For Ubuntu:
sudo apt install python3
  1. Install Python3 For Arch Linux:
sudo pacman -S python
  1. Install Python3 For Fedora:
sudo dnf install python3
  1. Install Python3 For OpenSUSE Tumbleweed:
sudo zypper install python3
  • python3-pip.
  1. Install python3-pipx For Ubuntu:
sudo apt install pipx

if you're getting an error/issues with installing libregaming using pipx. Use pip

sudo apt install pip

  1. Install python3-pip For Arch Linux:
sudo pacman -S python-pipx
  1. Install python3-pip For Fedora:
sudo dnf install pipx
  1. Install python3-pip For OpenSUSE Tumbleweed (Replace the "xxx" with the available pipx version):
sudo zypper install pythonxxx-pipx
  • Flatpak is needed for installing Athenaeum.

Packages:

  • These Packages are installed using libregaming -b
  1. Steam.
  2. Wine-Staging.
  3. Gamemode.

Optional_Packages

  • These Packages + the ones above can be installed using libregaming -g
  1. Lutris.
  2. mangohud and goverlay(Needs AUR enabled on Arch Linux).

Other_Packages

  • These Packages have their own install option and they are not included in the above packages. They need to be installed seperatly, to know more click here
  1. Athenaeum Launcher for FOSS games.
  2. itch.io a Launcher for indie games.
  3. Steam Tinker Launch(Only for Arch Linux).
  4. Heroic (Needs AUR enabled on Arch Linux)

Installation:

GUI

  • To use the GUI interface you need to download the LibreGamingQt-x86_64.AppImage from the releases page and give it execute privileges and run it!

execute privileges

CLI

  • You can install LibreGaming using pip if you have it installed. click Here to install pip3:
sudo pipx install LibreGaming
  • Or you can install LibreGaming script by entering these commands:
git clone https://github.com/Ahmed-Al-Balochi/LibreGaming.git LibreGaming/ 
cd LibreGaming/
sudo pipx install . --global
  • To update LibreGaming when there is a new release enter this command:
sudo pipx install libregaming --global -U
  • LibreGaming: command not found.

This error can be solved by setting up the PATH in your shell.

Usage:

  • Note: you can also run this script using libregaming command if you don't like LibreGaming. Both can be used, so choose what you prefer.
  • To install all the Gaming packages mentioned in the packages section enter this command:
sudo libregaming -g
  • To install Basic Packages(Wine, Steam, Gamemode):
sudo libregaming -b
  • To install Lutris Launcher enter this command:
sudo libregaming --lutris 
  • To install Heroic Launcher enter this command (Don't use sudo if you are using OpenSUSE):
sudo libregaming --heroic
  • To install MangoHud & Goverlay enter this command:
sudo libregaming -o
  • To install Athenaeum Launcher enter this command:
libregaming -ath
  • To install itch.io Launcher enter this command:
libregaming --itch
  • To install Minigalaxy Launcher enter this command:
libregaming --minigalaxy
  • To install Steam Tinker Launch(For Arch Linux only) enter this command:
libregaming --stl

VideoDemo:

Feedback:

  • Tell me what distro to add if yours is not available. And what features you'd like to see.
  • Also please report if there are any bugs in the script.
  • Your feedback is always welcome.

Credits:

  • Thanks to flightlessmango for mangohud.
  • Thanks to benjamimgois for goverlay.
  • Thanks to anyone who downloads this script, and to everyone who gives me feedback.