Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From apt-get or aptitude there's just termcap-compact, but I still see "no termcap library found" when trying to install my software (a development kit from another enterprise).

This happens just on my computer.

This page has a .tar.gz, but looks like it's the source, I how to install it..

Where can I install termcap from?

share|improve this question
up vote 12 down vote accepted

For libraries and header files, you have to install the developer packages, often the package name with the -dev prefix appended.

The termcap library and headers are part of the libncurses5-dev package, which can be installed using:

sudo apt-get install libncurses5-dev

Additionally, if you just want to build a newer version of a package, consider using the build-dep command to fetch all known dependencies for the package that is currently in the repositories. For instance:

sudo apt-get build-dep nmon

Would install the following packages (if not already installed):

debhelper libncurses5-dev hardening-wrapper
share|improve this answer
@jmunsch I've changed the link to something version-independent. Feel free to edit my post(s) if necessary. – Lekensteyn May 28 '14 at 13:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.