Yusuf Aadil
Yusuf Aadil

Reputation: 1

Missing ncurses header file

I am using fedora16 in vmware but there is no ncurses header file. so i cannot practice with ncurses, how can I install ncurses header file.

Upvotes: -1

Views: 270

Answers (2)

user8266283
user8266283

Reputation:

Since you use fedora then doing the following installs ncurses on fedora: First, go to rpmfind.net then search for ncurses and download the package according to your architecture. Then do the following to install the package:

rpm -i </Path/Package_name.extension>

Or alternatively, you can download the source code and compile it yourself by:

tar zxvf Ncurses_packageName.tar.gz
cd Ncurses_packageName
./configure
make
sudo make install

Upvotes: 0

Thomas Dickey
Thomas Dickey

Reputation: 54563

Fedora 16 is rather old, but if you can get to a workable yum server, you can install the ncurses-devel package to get the header files.

Upvotes: 0

Related Questions