我有一段时间无法使用“clear scr”命令了,因为我收到以下错误:
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.
我正在使用 Ubuntu Server 9.10。
不久前,我用 ncurses 库做了一些开发,所以我毫无疑问破坏了一些东西。
答案1
尝试从终端重新安装 ncurses-bin
sudo aptitude reinstall ncurses-bin
或者
从 Gnome 界面使用 Synaptic
Settings > Administration > Synaptic Package Manager