- Native App Menu: Pamac appears in your Steam Deck's application menu under "System"
- Proper Icon & Categorization: Shows up with the correct Pamac icon and metadata
- Launch Like Any App: Click and run - no terminal commands needed
- Auto-cleanup: When you uninstall packages, their shortcuts are automatically removed
- Survives Updates: Your installed packages and configurations persist through SteamOS updates
- Build Cache: Speeds up AUR package compilation by caching builds in
~/.cache/yay - Settings Retention: Pamac configuration and preferences are maintained
-
Immutable Filesystem Preservation β
- All package installations occur entirely within the Distrobox container
- No modifications to the host SteamOS filesystem
- SteamOS remains read-only and secure
-
AUR Package Management β
- Installs Pamac with full AUR support inside container
- GUI and CLI access to Arch Linux packages + AUR
yayhelper pre-installed for terminal operations
-
Automatic Setup β
- Single-script execution handles everything
- Container creation
- Pamac installation
- System configuration
- Application exporting
-
Seamless Desktop Integration β
- Pamac appears in SteamOS application menu
- Installed apps get automatically added to menu
- Exporting respects SteamOS .desktop standards
- No Developer Mode Required β
Works within standard SteamOS restrictions - No Sudo on Host β
All privileged operations are containerized - No System Modifications β
Leaves SteamOS core files untouched
- GUI Application β
Pamac runs as native-looking desktop app - Menu Integration β
Newly installed apps appear alongside Steam games - Proactive Error Handling β
Comprehensive logging and recovery mechanisms
- Complete Package Access: Full Arch repos + AUR (60,000+ packages)
- Development Tools: Complete build environment for compiling from source
- Gaming Packages: Steam, Lutris, Wine, etc. without conflicts
- System Tools: Advanced utilities not available in SteamOS
- Automatic Arch Updates: Keeps your Arch environment current
- Shared Home Directory: Access to your Steam Deck files
- Hardware Access: GPU, controllers, and other devices work normally
- Network Integration: Shares network settings with SteamOS
- Container Creation: Creates an isolated Arch Linux environment
- Desktop Export: Makes Pamac appear as a native SteamOS application
- File Integration: Installed apps can create shortcuts on your desktop
- Cleanup Automation: Pacman hooks ensure removed software doesn't leave orphaned shortcuts
# Installation - Run once:
./SteamOS-Pamac-Installer.sh
1. Run installation script
2. Select from options in terminal via 1,2,3
# Daily usage - Just like any native app:
# 1. Open Start menu
# 2. Navigate to "System" or "All Applications"
# 3. Click "Pamac Manager"
# 4. Install/remove software normally
# 5. Installed apps appear in your menu automatically- SteamOS Compatibility: Doesn't break during SteamOS updates
- Performance: Negligible overhead - apps run at native speed
- Safety: Can't break your Steam Deck system
- Flexibility: Full Linux software ecosystem available
- Convenience: Works exactly like a native package manager
This gives you the best of both worlds: SteamOS's gaming-optimized stability with Arch Linux's comprehensive software availability, all while maintaining the user experience of a native package manager.
bash -c "$(curl -sSL https://raw.githubusercontent.com/your-repo/Steam-OS-Pamac/main/SteamOS-Pamac-Installer.sh)"Why not
curl | bash? Piping into bash (curl ... | bash) replaces stdin with the pipe, so the script cannot read your keyboard for interactive prompts (battery warnings, destructive-reset confirmations, etc.). Using command substitution (bash -c "$(curl ...)") downloads the script first, then executes it as a string, leaving stdin connected to your terminal.
chmod +x ~/Desktop/SteamOS-Pamac-Installer.sh
./SteamOS-Pamac-Installer.shgraph LR
A[SteamOS Host] --> B[Distrobox Container]
B --> C[Arch Linux Userspace]
C --> D[Pamac Package Manager]
C --> E[AUR Packages]
D --> F[GUI Applications]
E --> F
F --> G[SteamOS Application Menu]
This script makes deliberate security tradeoffs to provide a seamless package-manager experience on a locked-down gaming device. Understanding these tradeoffs helps you decide if the script is right for your threat model.
- All package operations run inside a Distrobox/Podman rootless container
- The host SteamOS is never directly modified (except for desktop-file
symlinks in
~/.local/share/applications) - Container storage lives in
~/.local/share/containers/, not on the root filesystem
- Polkit rules: On single-user devices (1 human user detected), the
wheel group gets passwordless
org.manjaro.pamac.*via polkit. On multi-user hosts, the rule is scoped to the installing user only. - Sudoers:
timestamp_timeout=0scoped to%wheelβ sudo credentials are not cached between operations, limiting the escalation window. --strict-security: Disables theSigLevel = TrustAllkeyring recovery fallback and the fakesystemd-runwrapper. AUR builds that rely onDynamicUser=yeswill fail under strict mode, which is the correct behavior for security-sensitive hosts.
- The wrapper only triggers when real systemd is unavailable inside the container β it is never installed on the host.
- It logs all operations to
/tmp/systemd-run-fake.logfor auditability. - Under
--strict-security, the wrapper is refused entirely.
- The Chaotic-AUR, archlinuxcn, and EndeavourOS repositories are
optional and gated behind
--enable-extra-repos. They are disabled by default. - Key imports use dynamic discovery first (mirror-distributed keyring
packages) before falling back to keyservers. User-configurable
*_KEY_IDenv vars always override hardcoded fallbacks.
- It does not modify SteamOS read-only partitions
- It does not disable Secure Boot or other firmware protections
- It does not create system-wide service accounts or daemons
SSH configuration (--enable-ssh-env only): Major SteamOS version
upgrades (e.g. 3.x β 4.x) may rewrite host-side files under /etc/ssh/.
If you used --enable-ssh-env, the following may need re-creation after
a major upgrade:
/etc/ssh/sshd_config.d/permit-user-env.conf(PermitUserEnvironment)~/.ssh/environment(host environment variables)
Re-run the script with --enable-ssh-env to re-apply these settings,
or manually restore them per the in-script guidance.
Everything else persists across SteamOS updates: container data,
desktop file exports, pamac configuration, and the GUI/CLI wrappers
all survive normal steamOS update cycles.
The script works on any Linux distribution with systemd and a supported container runtime (podman or Docker). However, some features are SteamOS-specific:
| Feature | SteamOS | Other distros |
|---|---|---|
| Read-only rootfs detection | Automatic | N/A (skipped) |
| subuid/subgid configuration | Automatic | Automatic |
| KDE Discover notifier suppression | Automatic (KDE only) | N/A (skipped) |
| SSH environment configuration | Automatic | N/A (skipped) |
| Desktop file export | Automatic | Automatic |
| AUR wrapper (yay/paru) | Automatic | Automatic |
| D-Bus policy configuration | Automatic | Automatic |
On non-SteamOS systems, the script skips SteamOS-specific features (read-only rootfs handling, SSH env, Discover notifier) and focuses on container setup, desktop exports, and AUR wrapper installation. The container, pamac, and desktop integration work identically.
When you run the script, you'll see this final success message:
π SETUP COMPLETE! π
Enhanced Pamac with AUR support is now installed and ready to use.
ACCESS METHODS:
π₯οΈ Desktop Mode: Application Launcher β 'Pamac Package Manager'
π οΈ Management: Use 'BoxBuddy' for advanced container operations
All installed applications (including those from AUR) will appear in your application menu under appropriate categories, looking and behaving like native SteamOS applications. The container provides full Arch Linux compatibility while keeping SteamOS perfectly intact.