我正在删除目录中的一些文件,并且没有注意到是rm输入的,我输入了空终端。但是,那意外地删除了命令。我试图重新安装它,但没有结果:
naveen@naveen-hp:~$ clear
Command 'clear' not found, but can be installed with:
sudo apt install ncurses-bin
naveen@naveen-hp:~$ sudo apt install ncurses-bin
[sudo] password for naveen:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ncurses-bin is already the newest version (6.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
naveen@naveen-hp:~$ clear
Command 'clear' not found, but can be installed with:
sudo apt install ncurses-bin
naveen@naveen-hp:~$ 我正在使用Ubuntu20.04LTS与Gnome。现在如何恢复这个命令?
发布于 2020-12-29 16:13:29
如果您删除了所有组件,sudo apt install --reinstall ncurses-bin应该重新安装一个组件。
https://askubuntu.com/questions/1303658
复制相似问题