- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .gitignore | ||
| chatgpt-launcher.sh | ||
| PKGBUILD | ||
| README.md | ||
chatgpt-bin (Arch Linux)
Unofficial Arch package that repackages OpenAI’s official ChatGPT desktop app (with Codex) from the Linux .deb builds.
Not affiliated with OpenAI. There is no official Arch package or repo. Upstream only ships
.deb/.rpmfor selected distros (Ubuntu, Debian, Fedora). See the Linux app docs.
| pkgname | chatgpt-bin |
| Architectures | x86_64, aarch64 |
| Upstream source | versioned .deb from OpenAI’s package pool |
| License | proprietary / custom (from upstream copyright) |
Install
From this repository
git clone https://github.com/spalencsar/chatgpt-bin.git
cd chatgpt-bin
makepkg -si
AUR helpers (yay/paru) only apply once this package is published on the AUR. Until then, use git clone and makepkg as above.
Local rebuild after git pull
makepkg -si
The package provides chatgpt and conflicts with other packages that install /usr/bin/chatgpt.
Usage
chatgpt
# alias also installed:
codex-desktop
Or open ChatGPT from the application menu.
Wayland
The installed launcher prefers native Wayland when the session is Wayland:
--ozone-platform=wayland
Upstream still documents native Wayland as experimental. To force X11/XWayland, put this in ~/.config/chatgpt-flags.conf:
--ozone-platform=x11
Extra Electron / Chromium flags
Create ~/.config/chatgpt-flags.conf (one flag or space-separated flags per line; # comments allowed):
# example
--disable-gpu
CLI arguments are passed through after those flags.
AppArmor
The package keeps OpenAI’s profile at /etc/apparmor.d/chatgpt (backup in the PKGBUILD). Install apparmor if you want to load it on AppArmor-enabled systems.
Updating the package
-
Check the latest version and SHA256 in OpenAI’s index:
-
Update in
PKGBUILD:pkgversha256sums_x86_64sha256sums_aarch64- bump
pkgrelto1for a new upstream version
-
Rebuild and install:
makepkg -si
If you only change the launcher script, recompute its checksum:
sha256sum chatgpt-launcher.sh
# put the hash into sha256sums=(...)
What this package does
- Downloads the official
chatgpt_<ver>_{amd64,arm64}.deb(not the floating/latest/URL) - Extracts it with fixed checksums
- Installs a small wrapper at
/usr/bin/chatgpt(Wayland + flags file) - Installs license files under
/usr/share/licenses/chatgpt-bin/ - Drops Debian-only docs/lintian metadata
- Keeps the bundled AppArmor profile
Disclaimer
This is a community packaging helper. OpenAI’s binary is proprietary; download and use it under their terms. Features, support status, and platform requirements are defined by OpenAI, not by this repo. Computer Use and other capabilities may be limited on Linux according to upstream docs.
Related
- Upstream docs: ChatGPT desktop app for Linux
- Codex / app overview: chatgpt.com/codex
- Note: the AUR package named
chatgpt-binis a different project (CLI). This repo is the desktop app repackage.