Skip to content

Instantly share code, notes, and snippets.

@R3V1Z3
Last active May 4, 2022 10:08
Show Gist options
  • Save R3V1Z3/12cc49779df6d6eea271263a4b21d004 to your computer and use it in GitHub Desktop.
Save R3V1Z3/12cc49779df6d6eea271263a4b21d004 to your computer and use it in GitHub Desktop.
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
@noviembre
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment