Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

OptimiHost/P2Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE

This project is currently sunsetted. Maintaining and updating it became too difficult to manage. I might release a second version in the future, but it won’t be anytime soon.

Thank you to everyone who has supported this project! Your encouragement means a lot.

🎮 Optimi's P2Installer

Russian Warship Go Fuck Yourself

Run Player2 (from player2.game) on Linux with ease.
This is a 3rd party installer app, not an official Player2 product.

Optimi's P2Installer is a cross-distro Python installer that automates the setup of dependencies, environment variables, and the latest Player2.AppImage.


🤖 What is Player2?

Player2 (available at player2.game) is an AI-powered platform designed to enhance gaming experiences by providing intelligent in-game assistance. It enables gamers to:

  • Integrate AI companions into games like Minecraft, offering dynamic interactions and support.
  • Access AI APIs for indie game developers to create custom AI-driven content.
  • Explore and share AI mods and games, fostering a community of creators and players.

✅ P2Installer Features

  • Cross-distro support: Works on Arch Linux, Ubuntu/Debian, Fedora, Gentoo, openSUSE, and Alpine Linux.
  • Automated setup: Installs necessary dependencies, patches environment variables, and downloads the latest Player2.AppImage.

⚙️ Requirements

  • Linux (any major distro)
  • sudo privileges
  • Python 3.6 or later

🚀 Installation

Run the following command to install Player2:

bash -c 'curl -fsSL https://raw.githubusercontent.com/OptimiDEV/P2Installer/main/main.py -o /tmp/p2installer.py && sudo python3 /tmp/p2installer.py'

This script will:

  1. Detect your Linux distribution.
  2. Install required dependencies.
  3. Download the latest Player2.AppImage.
  4. Make the AppImage executable.
  5. Patch your shell environment variables.

🛠 Behind the Scenes

The installer script performs the following steps:

  1. Check for sudo privileges: Ensures the script is run with appropriate permissions.
  2. Display ASCII banner: Shows a welcome message with the Optimi logo.
  3. Detect operating system: Identifies the Linux distribution using platform.freedesktop_os_release().
  4. Install dependencies: Based on the detected OS, installs necessary packages using the appropriate package manager.
  5. Download Player2.AppImage: Fetches the latest version of the Player2 AppImage from the official source.
  6. Set executable permissions: Makes the downloaded AppImage executable.

🛡️ Notes & Cleanup

  • Uninstallation: To remove Player2, use sudo p2uninstall

That's all.

About

A Player2 Installer for Linux that actually cares.

Topics

Resources

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages