Configure Error Missing Headers Curses.h
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ 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: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top What provides curses headers named curses.h? up vote 17 down vote favorite 3 I need a few header file namely curses.h for text based programming Please tell me how to install these header files. command-line c share|improve this question edited Aug 8 '12 at 14:01 Jorge Castro 23.9k91385589 asked Nov 13 '11 at 8:32 coder 1,37541730 add a comment| 2 Answers 2 active oldest votes up vote 37 down vote accepted You can install libncurses5-dev package via Software Center or: sudo apt-get install libncurses5-dev Also, you can install the package by clicking here. When you need a file or package and can't find it you can use some tools. 1. apt-file First, install apt-file and update it. sudo apt-get install apt-file apt-file update You can search with apt-file needed files or packages. apt-file search curses.h 2. Use packages.ubuntu.com Go to this link. On right top, select package contents if your are searching a file included with a package. If you need a package directly, just search it with its name choosing package names. share|improve this answer edited Nov 13 '11 at 9:06 answered Nov 13 '11 at 8:45 heartsmagic 3,4201332 can you tell me what libncurses package contains? –coder Nov 13 '11
2014 in Debian / Ubuntu, Linux, Package Management, RedHat and FriendsI see the following error when I run make command to install specific software:
curses.h: No such file or directory Problem SolutionHow do I fix this error under Red Hat Enterprise Linux (RHEL) or CentOS / Fedora Linux? A.. You need to install the curses library which include routines for a terminal-independent method of updating http://askubuntu.com/questions/78749/what-provides-curses-headers-named-curses-h character screens with reasonable optimization. The ncurses (new curses) library is a freely distributable replacement for the discontinued 4.4 BSD classic curses library.Fix this error on RHEL / Fedora / CentOS LinuxType the following yum command at a shell prompt as root user: # yum install ncurses-devel ncurses Sample http://www.cyberciti.biz/faq/linux-error-cursesh-no-such-file-directory/ output:Loading "downloadonly" plugin Loading "rhnplugin" plugin Loading "security" plugin rhel-x86_64-server-vt-5 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5 100% |=========================| 1.2 kB 00:00 Setting up Install Process Parsing package install arguments Package ncurses - 5.5-24.20060715.x86_64 is already installed. Package ncurses - 5.5-24.20060715.i386 is already installed. Resolving Dependencies --> Running transaction check ---> Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated ---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ncurses-devel x86_64 5.5-24.20060715 rhel-x86_64-server-5 1.7 M ncurses-devel i386 5.5-24.20060715 rhel-x86_64-server-5 1.6 M Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.3 M Is this ok [y/N]: y Downloading Packages: (1/2): ncurses-devel-5.5- 100% |=========================| 1.6 MB 00:01 (2/2): ncurses-devel-5.5- 100% |=========================| 1.7 MB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: ncurses-devel ######################### [1here for a quick overview of the site Help Center Detailed answers to any questions you http://unix.stackexchange.com/questions/42065/ncurses-h-is-not-found-even-though-it-is-on-the-search-path might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting https://www.crucial.com.au/blog/2012/10/29/htop-installation-explained/ ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of configure error Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ncurses.h is not found, even though it is on the search path up vote 2 down vote favorite configure error missing 2 I have installed ncurses package from source, and now I have $HOME/local/include/ncurses/curses.h $HOME/local/include/ncurses/ncurses.h on my filesystem. I have also set up the search pathes so that $ echo $C_INCLUDE_PATH $HOME/local/include: $ echo $CPLUS_INCLUDE_PATH $HOME/local/include: (i have eddited the output of echo to replace home path with $HOME) however, when i ./configure another package i get checking ncurses.h usability... no checking ncurses.h presence... no what's the problem that the system cannot detect curses installation? compiling configure ncurses share|improve this question edited Jul 1 '12 at 19:44 asked Jul 1 '12 at 19:24 behzad.nouri 365148 make sure your two paths you mentioned at the start do not have the inlcude typo on the filesystem. –lynxlynxlynx Jul 1 '12 at 19:37 @lynxlynxlynx i fixed the typo in the question, thanks for pointing out –behzad.nouri Jul 1 '12 at 19:45 I found this guide really helpful for statically compiling tmux 1.9 on fedora 19: pyther.net/2014/03/building-tmux-1-9a-statically –djeikyb Jun 16 '14 at 16:52 add a comm
Design and Dev Technical Guides htop Installation Explained By Vikram Rana. Published on October 29, 2012. 0 Tweet htop is a great interactive process viewer for Linux servers, which is very robust and good alternative of ‘top' command utility. The htop tool is basically text based interface written in C programming(using ncurses library) by Hisham Muhammad with the help of a group of code contributors. He came up with an idea to write htop in order to replace the standard ‘top' command line tool in Unix/Linux operating system. It provides the same result as top, but with a full list of all running processes instead of showing top resource consuming processes. It uses colors to give you visual information about memory, swap & CPU status. Here are the some differences between htop and top command utility: * htop supports mouse interaction while top doesn't. You can scroll the list horizontally and vertically to see all processes and complete command lines. * Data displayed by htop is Color formatted & nicely sorted while top only shows white text with black background. * Tree view of processes, SMP (symmetric multiprocessing) and other features available in htop. * htop starts very quickly by gathering information while top takes time to collect data before displaying anything. * When debugging memory leaks in applications, htop displays a more convenient, mouse controlled cursor environment for killing processes as compared to top. * You will need to wait each time when you press any unassigned key in top, especially its annoying when there are multiple key sequences are triggered by accident. * Like top you don't need to type the process number to kill a process in ‘htop’. Just by selecting the process and pressing f9 button on keyboard or clicking ‘kill' option will delete the process instantly. * In htop there is no need to type the process number or priority value to renice a process as same as you do in top. * top is old and hence it is widely used and tested. Installing htop on Linux server: To install htop on CentOS (5.X) or Redhat Linux server easily via yum package manager, you will need to have rpm forge package repository installed. To get the RPM downloaded and install for your architecture