Just for fun
ncurses.h
cstdlib
andunistd.h
(part of the standard C and POSIX headers and should be available in your development environment.)
- Update your package list:
sudo apt update
- Install
libncurses-dev
for thencurses
library and headers:sudo apt install libncurses-dev
- Install
ncurses-devel
for thencurses
library and headers:sudo dnf install ncurses-devel
-
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install
ncurses
using Homebrew:brew install ncurses
-
Compiling the Program
make
- This will clean object files and executable
make clean