5

How can I install the ncurses library on a raspberry Pi through the terminal?

Is there a sudo function that can be used to install it?

Schuey999
  • 4,706
  • 7
  • 21
  • 36
  • Are you running Raspbian? If so `apt-get` is the package manager. If using a RedHat variant like Fedora, then use `yum` – OneCricketeer Feb 06 '16 at 19:26

1 Answers1

12

To install the NCurses library on a Debian based machine you can issue the apt-get command below:

sudo apt-get install libncurses5-dev libncursesw5-dev 

This will install both the libncurses5-dev (for ncurses) and libncursesw5-dev (for ncursesw) on your machine.

NSPredator
  • 464
  • 4
  • 10