-
Notifications
You must be signed in to change notification settings - Fork 247
Install ncurses
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.
pacman -S ncurses
apt-get install libncursesw5-dev
yum install ncurses-devel
zypper install ncurses5-devel
NOTE: On openSUSE Leap 15.3, linking may still fail even after installing the ncurses5-devel
package. To fix this:
- Run
export NCURSES_RS_RUSTC_FLAGS="-L /usr/lib64/ncurses5"
in your shell. - Run
cargo clean
and thencargo build
.
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"
.