Skip to content
Emanuel Czirai edited this page May 25, 2024 · 4 revisions

In order to use either the ncurses or the pancurses backend, you will need the ncurses library installed on your system.

Archlinux

pacman -S ncurses

Ubuntu

apt-get install libncursesw5-dev

Fedora

yum install ncurses-devel

openSUSE

zypper install ncurses5-devel

NOTE: On openSUSE Leap 15.3, linking may still fail even after installing the ncurses5-devel package. To fix this:

  1. Run export NCURSES_RS_RUSTC_FLAGS="-L /usr/lib64/ncurses5" in your shell.
  2. Run cargo clean and then cargo build.

macOS

brew install ncurses

NOTE: In order for pkg_config to find this version of ncurses, set export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig".

Clone this wiki locally