Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installer script for Kitty terminal on elementary OS, or Ubuntu derivatives in general
#!/usr/bin/env bash
# ensure freetype is updated, important to avoid error:
# undefined symbol: FT_Get_Var_Blend_Coordinates
sudo add-apt-repository ppa:glasen/freetype2
sudo apt update && sudo apt install freetype2-demos
# kitty installer script from https://sw.kovidgoyal.net/kitty/binary.html#manually-installing
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
# add symbolic links to create application menu items
sudo ln -s ~/.local/kitty.app/bin/kitty /usr/bin/kitty
sudo ln -s ~/.local/kitty.app/share/applications/kitty.desktop /usr/share/applications/kitty.desktop
sudo ln -s ~/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png /usr/share/icons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment