Skip to content

Instantly share code, notes, and snippets.

@bcrisp4
Last active August 17, 2022 04:52
Show Gist options
  • Save bcrisp4/b1d111023f3d09a5d5c29ff165a6abbd to your computer and use it in GitHub Desktop.
Save bcrisp4/b1d111023f3d09a5d5c29ff165a6abbd to your computer and use it in GitHub Desktop.
Kitty terminal CentOS 7 build from source
# Get Python 3.6:
$ sudo yum -y install centos-release-scl
$ sudo yum -y install rh-python36
# Install dependencies with yum:
$ sudo yum -y install gcc git harfbuzz harfbuzz-devel zlib libpng libpng-devel freetype fontconfig fontconfig-devel ImageMagick libXi libXi-devel libX11 libX11-devel libXcursor libXcursor-devel libXinerama libXinerama-devel libXrandr libXrandr-devel mesa-libGL-devel libxkbcommon-devel libxkbcommon-x11-devel dbus-devel rh-python36-python-pygments
# Launch new shell with Python 3.6 using SCL
$ scl enable rh-python36 bash
# Get latest Kitty sources from GitHub
$ git clone https://github.com/kovidgoyal/kitty && cd kitty
# Build Kitty
$ make
# Run Kitty
$ python .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment