This repository contains build scripts to produce an unofficial Ubuntu package (.deb) 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.
⚡ Just paste this into your terminal and run it!
source /etc/os-release
GHOSTTY_DEB_URL=$(
curl -s https://api.github.com/repos/mkasberg/ghostty-ubuntu/releases/latest | \
grep -oP "https://github.com/mkasberg/ghostty-ubuntu/releases/download/[^\s/]+/ghostty_[^\s/_]+_amd64_${VERSION_ID}.deb"
)
GHOSTTY_DEB_FILE=$(basename "$GHOSTTY_DEB_URL")
curl -LO "$GHOSTTY_DEB_URL"
sudo dpkg -i "$GHOSTTY_DEB_FILE"
rm "$GHOSTTY_DEB_FILE"
Warning
A recent GTK is required for Ghostty to work with Nvidia (GL) drivers under X11. Ubuntu 22.04 LTS has GTK 4.6 which is not new enough. Ubuntu 23.10+ should be fine. (See the note in the Ghostty docs.)
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. (Also available on our Releases page.)
- Ubuntu 24.10 Oracular: ghostty_1.0.1-0.ppa2_amd64_24.10.deb
- Ubuntu 24.04 LTS Noble: ghostty_1.0.1-0.ppa2_amd64_24.04.deb
- Ubuntu 22.04 LTS Jammy: ghostty_1.0.1-0.ppa2_amd64_22.04.deb
-
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.
If you want to test locally, you should be able to run setup-env.sh and build-ghostty.sh on your own Ubuntu system or in an Ubuntu Docker container.
- Produce a .deb package on GitHub Releases
- Set up a PPA (or other apt repo?) for easier updates
- Ghostty is available in official Ubuntu repos