Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I haven't been able to use the "clear scr" command in a while, as I get the following error:

root@server:~# clear                                                     
The program 'clear' is currently not installed.  You can install it by typing:  
apt-get install ncurses-bin                                                     
bash: clear: command not found

root@server:~# apt-get install ncurses-bin                               
Reading package lists... Done                                                   
Building dependency tree                                                        
Reading state information... Done                                               
ncurses-bin is already the newest version.                                      
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.      

I'm using Ubuntu Server 9.10.

I did some development with the ncurses library a while ago, so I've no doubt broken something.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try re-installing ncurses-bin from the terminal

sudo aptitude reinstall ncurses-bin

or

use Synaptic from Gnome Interface

Settings > Administration > Synaptic Package Manager

share|improve this answer

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.