Skip to main content

Install Gaming Packages with ease

Project description

LibreGaming

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

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.
  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-pip For Ubuntu:
sudo apt install python3-pip
  1. Install python3-pip For Arch Linux:
sudo pacman -S python-pip
  1. Install python3-pip For Fedora:
sudo dnf install python3-pip
  1. Install python3-pip For OpenSUSE Tumbleweed:
sudo zypper install python3-pip
  • Flatpak is needed for installing Athenaeum.

Packages:

  1. Steam.
  2. Wine-Staging.
  3. Gamemode.
  4. ProtonGE(You Must run Steam at least once before installing ProtonGE).
  5. Lutris.
  6. Heroic (Needs AUR enabled on Arch Linux)
  7. Athenaeum Launcher for FOSS games.
  8. mangohud and goverlay(Needs AUR enabled on Arch Linux).
  9. Protonup.

Installation:

  • You can install LibreGaming using pip if you have it installed. click Here to install pip3:
pip3 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/
python3 setup.py install --user

  • To update LibreGaming when there is a new release enter this command:
pip install LibreGaming -U
  • LibreGaming: command not found.

This error can be solved by setting up the PATH in your shell you can do this by entering these lines in your shell file(.bashrc or .zshrc) and by default your shell file is hidden by default.

  • Note that the LibreGaming Script is saved in ~/.local/bin directory by default.
### PATH

if [ -d "$HOME/.local/bin" ] ;
  then PATH="$HOME/.local/bin:$PATH"
fi

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:
LibreGaming -g
  • To install Basic Packages(Wine, Steam, Gamemode):
LibreGaming -b
  • To only install ProtonGE enter this command:
LibreGaming -p
  • To only install Athenaeum Launcher enter this command:
LibreGaming -ath
  • To install gaming packages, ProtonGE, and Athenaeum Launcher enter this command:
LibreGaming -g -p -ath

ProtonupCommands

  • To list all the available releases of ProtonGE enter this command:
LibreGaming -r
  • To list all the installed verions of ProtonGE enter this command:
LibreGaming -l
  • To install a specfic release of ProtonGE enter this command: for example:
LibreGaming -t 6.13-GE-1
  • To delete a specfic release of ProtonGE enter this command: for example:
LibreGaming -rm 6.13-GE-1

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 GloriousEggroll for ProtonGE.
  • Thanks to AUNaseef protonup for making it easier to install ProtonGE.
  • Thanks to flightlessmango for mangohud.
  • Thanks to benjamimgois for goverlay.
  • Thanks to anyone who downloads this script, and to everyone who gives me feedback.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

LibreGaming-0.0.7.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

LibreGaming-0.0.7-py3-none-any.whl (20.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page