Resolving Ghostty GLIBC Version Conflict | Generated by AI

Home 2025.10

The issue you’re running into isn’t just about conflicting installations—it’s primarily that both the Snap and the .deb you downloaded were built against GLIBC 2.38 (from Ubuntu 24.04), but your system is on Ubuntu 22.04 (based on the GLIBC 2.35 version in your libc-bin package). This causes the “version GLIBC_2.38' not found" error when trying to run the binary. Having both installs active can also lead to path conflicts (e.g., which ghostty` binary gets executed), so yes, you should remove them first to clean things up.

Step 1: Remove Existing Installations

Run these commands to uninstall both:

sudo snap remove ghostty
sudo apt remove ghostty

Step 2: Install a Compatible Version

Ghostty doesn’t have official .deb packages for Ubuntu 22.04 yet, but there’s a reliable unofficial repository that builds compatible .deb files for it (and other versions). It handles GLIBC compatibility automatically.

The easiest way is to use their automatic installer script, which detects your Ubuntu version and grabs the right package:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"

If you prefer manual installation:

  1. Go to the releases page.
  2. Download the .deb file labeled for Ubuntu 22.04 (e.g., something like ghostty_1.2.1-0.ppa1_amd64_22.04.deb—exact name varies by release).
  3. Install it with sudo dpkg -i ghostty_*.deb (run from the download folder).
  4. If it complains about missing dependencies, fix with sudo apt install -f.

Additional Notes

If you hit any errors during these steps, paste the output here for more help!


Back

x-ai/grok-4-fast

Donate