SUMI is a robust, code-readable suyu installer/updater for Steam on SteamOS and various Linux distributions, macOS and Windows. Designed to enhance user convenience by being accessible, logical, and informative, SUMI supports automatic detection of compatible operating systems plus CPU architectures and optimizes bandwidth by avoiding unnecessary redownloads of suyu.
- Prevents unnecessary redownloads of suyu, saving bandwidth.
- Backs up previously installed revisions for reuse, conserving resources.
- Detects OSes and CPU architectures automatically.
- Compatible with a wide range of Linux distributions, including SteamOS 3, Bazzite, ChimeraOS, Garuda Linux, HoloISO, Nobara Linux Steam Deck Edition, and more.
SUMI supports various Linux distributions and provides guidance for MacOS and Windows, extending its utility across different operating systems.
sudo apt-get update
sudo apt-get install python3-gi python3-gi-cairo gir1.2-gtk-3.0
sudo dnf install python3-gobject python3-cairo-gobject gtk3
sudo pacman -Syu
sudo pacman -S python-gobject python-cairo gtk3
sudo zypper refresh
sudo zypper install python3-gobject python3-gobject-cairo gtk3
For CentOS 7:
sudo yum install python3-gobject python3-cairo-gobject gtk3
For CentOS 8 and newer versions:
sudo dnf install python3-gobject python3-cairo-gobject gtk3
sudo emerge --sync
sudo emerge dev-python/pygobject:3 x11-libs/gtk+:3
sudo nix-channel --update
nix-env -iA nixos.python3 nixos.gtk3 nixos.python3Packages.gobject-introspection nixos.python3Packages.pygobject3 nixos.python3Packages.requests
MacOS users will need to install Python3 and relevant dependencies using Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python3 gtk+3
Ensure Python3 is installed from the official Python website or through the Microsoft Store. During installation, select the option to add Python to PATH.
Pip is essential for installing additional Python packages required by SUMI.
Use the package manager specific to your distribution to install pip.
Pip is included with the Python installation via Homebrew.
Pip is included with Python installation. Verify its installation by running pip --version
in Command Prompt or PowerShell.
Across all platforms, use pip to install the required Python modules:
pip install requests PyGObject
Note: Installing PyGObject on MacOS and Windows may require additional steps due to GTK dependencies.
Navigate to the directory where SUMI-main.zip
is downloaded, unzip it, change the directory to the extracted folder, make the installer script executable, and run it:
cd ~/Downloads
unzip SUMI-main.zip
cd SUMI-main
chmod +x SUMI-installer.sh
./SUMI-installer.sh
After downloading SUMI-main.zip
, extract it, navigate to the SUMI-main
directory in your terminal, and execute the installer script:
unzip SUMI-main.zip -d SUMI-main
cd SUMI-main
./SUMI-installer.sh
Download and extract SUMI-main.zip
, then run the installer script through Command Prompt or PowerShell:
cd path\to\SUMI-main
.\SUMI-installer.ps1
Ensure you navigate to the directory where SUMI-main
is extracted before running the installer script.
To compile SUMI.py
into a standalone application or script, use PyInstaller or a similar tool. This process involves using PyInstaller to generate a single executable file, which can simplify the distribution and execution of SUMI on various systems.
- Install PyInstaller via pip:
pip install pyinstaller
- Navigate to the directory containing
SUMI.py
and run PyInstaller:
pyinstaller --onefile SUMI.py
- The executable will be located in the
dist
directory within your project folder.
MacOS users should follow the same steps as Linux for compiling SUMI.py
. However, you might need to address permissions or security prompts due to MacOS's Gatekeeper feature:
- Install PyInstaller using pip:
pip3 install pyinstaller
- Compile
SUMI.py
into a standalone application:
pyinstaller --onefile SUMI.py
- If you encounter a security prompt when running the executable, navigate to
System Preferences > Security & Privacy
and allow the app to run, or right-click the app and selectOpen
for the first launch.
On Windows, the process to compile SUMI.py
is similar but ensure your command prompt or PowerShell has access to Python and PyInstaller:
- Install PyInstaller through pip:
pip install pyinstaller
- Navigate to the directory containing
SUMI.py
and execute PyInstaller:
pyinstaller --onefile SUMI.py
- Find the compiled
.exe
in thedist
directory. You can distribute this executable to other Windows users, allowing them to run SUMI without installing Python.
- The
--onefile
flag with PyInstaller creates a single bundled executable file for easy distribution. - Users may need to install additional dependencies or runtime libraries depending on the specific requirements of SUMI and the target operating system.
- Testing the executable on different systems or virtual machines is recommended to ensure compatibility and functionality across various configurations.
For easier access to SUMI, you might want to create a desktop shortcut or entry.
Create a .desktop
file in ~/.local/share/applications/
with the following contents, adjusting paths as necessary:
[Desktop Entry]
Type=Application
Name=SUMI
Exec=/path/to/SUMI
Icon=/path/to/sumi_icon.png
Comment=Update Manager for Suyu
Categories=Utility;
To create an application shortcut, you might use Automator to create a small application that runs the SUMI script, or manually create a shortcut.
Right-click on your desktop or in any folder where you want the shortcut, select New > Shortcut
, and follow the prompts to create a shortcut to the SUMI executable. You can specify the path to the SUMI .exe
file you generated with PyInstaller.