Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 6 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 at 13:21

Your Answer

 
discard

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.