Reputation: 726
I want to use certain operations (like clearing the screen etc.) in C programs in Linux platform and I am informed that it can be done including curses.h header-file. But this doesn't seem to be available along with gcc package.
Please, tell me how can I install it?
Upvotes: 16
Views: 75089
Reputation: 119
On Debian/Ubuntu/Deepin,use the following command:
sudo apt install libncurses5-dev
man document:
sudo apt install ncurses-doc
then:
man ncurses
Upvotes: 7
Reputation: 515
On RHEL / Fedora / CentOS Linux, type the following yum command at a shell prompt as root user:
yum install ncurses-devel ncurses
Upvotes: 10