DEV Community

Jamie Saker
Jamie Saker

Posted on

Solving Rustc build of alacritty on Kali Linux

Ran into a few snags getting the Rust-based alacritty terminal to compile via cargo on Kali Linux (2022.2). Initial dependencies required for a Kali deployment include build-essential, cmake and fontconfig - all of which are available via apt.

It turns alacritty also requires:

  • libxcb-xfixes0-dev
  • libxcb-xshape0-dev
  • libxcb-render0-dev

Once those three are also added via apt, #alacritty builds completely within cargo. Thanks to Amber for their "Solving Rustc 'cannot find -lxcb-shape'" post on Dev that helped lead me down the solution path for alacritty.

Reference:

Top comments (0)