Install Gaming Packages with ease
Project description
LibreGaming
Python Program that downloads gaming required packages based on your Linux Distribution.
Table of contents
Distributions:
- I tested this script on these distributions. but it should also work on their derivatives too.
- Ubuntu(Tested also on Linux Mint, Pop_OS!).
- Arch Linux.
- Fedora.
- 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
- Install git For Ubuntu:
sudo apt install git
- Install git For Arch Linux:
sudo pacman -S git
- Install git For Fedora:
sudo dnf install git
- Install git For OpenSUSE Tumbleweed:
sudo zypper install git
- python3
- Install Python3 For Ubuntu:
sudo apt install python3
- Install Python3 For Arch Linux:
sudo pacman -S python
- Install Python3 For Fedora:
sudo dnf install python3
- Install Python3 For OpenSUSE Tumbleweed:
sudo zypper install python3
- python3-pip.
- Install python3-pip For Ubuntu:
sudo apt install python3-pip
- Install python3-pip For Arch Linux:
sudo pacman -S python-pip
- Install python3-pip For Fedora:
sudo dnf install python3-pip
- Install python3-pip For OpenSUSE Tumbleweed:
sudo zypper install python3-pip
- Flatpak is needed for installing Athenaeum.
Packages:
- These Packages are installed using
LibreGaming -b
Optional_Packages
- These Packages + the ones above can be installed using
LibreGaming -g
- Lutris.
- Heroic (Needs AUR enabled on Arch Linux)
- 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
- ProtonGE(You Must run Steam at least once before installing ProtonGE).
- Athenaeum Launcher for FOSS games.
- itch.io a Launcher for indie games.
- Steam Tinker Launch(Only for Arch Linux).
Installation:
- You can install LibreGaming using pip if you have it installed. click Here to install pip3:
sudo 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/
sudo python3 setup.py install --user
- To update LibreGaming when there is a new release enter this command:
sudo pip3 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. to show hidden files enter ls -al
in the terminal.
- 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 likeLibreGaming
. 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 ProtonGE enter this command:
LibreGaming -p
- 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
Protonup_Commands
- To list all the available releases of ProtonGE enter this command:
LibreGaming --release
- 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 -r 6.13-GE-1
VideoDemo:
- This a my video demonstrating LibreGaming in English. And click here for Arabic
- This is a video demonstrating LibreGaming made by TechHut: https://www.youtube.com/watch?v=2f2zdViFDYg
- This is a video demonstrating LibreGaming made by @BrodieRobertson: https://www.youtube.com/watch?v=sOch-qZMLq0&t=309s
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for LibreGaming-0.2.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f2a8f22dbadcdcace040e607a8e3d67bd5a4db6698626181b264883011e41b3 |
|
MD5 | f09fdd95fa761ba8f2b9ea7d053b166f |
|
BLAKE2b-256 | e5295171978a4fcfa47156f55465c05af450c92fb51cd0e2089c7f8cb013c0ad |