This repository contains build scripts to produce an unofficial Ubuntu/Debian package (.deb) and PPA for Ghostty.
This is an unofficial community project to provide a package that's easy to install on Ubuntu. If you're looking for the Ghostty source code, see ghostty-org/ghostty.
🚀 Add the Launchpad PPA and install Ghostty:
sudo add-apt-repository ppa:mkasberg/ghostty-ubuntu
sudo apt update
sudo apt install ghosttyAfter adding the PPA and installing Ghostty, updates will happen automatically via apt!
We provide amd64 and and arm64 builds for:
- Ubuntu 26.04 Resolute Raccoon
- Ubuntu 25.10 Questing Quokka
- Ubuntu 24.04 LTS Noble Numbat
- Debian Forky
- Debian Trixie
The PPA above is the recommended installation method for anyone who can use it. If you can't use the PPA, or don't want to use the PPA, or your distribution isn't compatible with the PPA, you can try one of the alternative installation methods below.
⚡ Just paste this into your terminal and run it!
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"If you prefer to download and install the package manually instead of running the short script above, here are instructions.
-
Download the .deb package for your Ubuntu version from our Releases page. Make sure you get the correct OS, version, and arch (amd64/arm64).
-
Install the downloaded .deb package.
sudo dpkg -i <filename>.deb
To update to a new version, just follow any of the installation methods above. There's no need to uninstall the old version; it will be updated correctly.
I want to have an easy-to-install Ghostty package for Ubuntu, so I'm doing what I can to make it happen. (Ghostty relies on the community to produce non-macOS packages.) I'm sure the scripts I have so far can be improved, so please open an issue or PR if you notice any problems!
GitHub Actions will run CI on each PR to test that we can produce a build, and the GitHub workflows at binary-build.yml, ppa-build-zig.yml, and ppa-build-ghostty.yml are the most up-to-date documentation of the build process.
If you want to build locally, the binary build is the easier. At a high level, you can build the Docker image to get a build environment for any Ubuntu version (if you don't want to use your laptop as the build environment).
cd build-binary
docker build -t ghostty-ubuntu:latest --build-arg DISTRO=ubuntu --build-arg DISTRO_VERSION=25.10 --build-arg ZIG_VERSION=0.15.2 .Then you can use that build environment to produce a binary .deb package.
docker run --rm -v$PWD:/workspace -w /workspace ghostty-ubuntu:latest /bin/bash build-ghostty.shAlternatively, you can try running build-ghostty.sh on your own system, but you'll have to have all the build dependencies installed as in the Dockerfile.
Building the PPA package locally is left as an exercise for the reader.
