我是Linux的初学者。
我从网上下载了一些字体,我犯了一些错误,用这些字体重建 Ubuntu。所以我将它们复制到主目录中的 .fonts 文件夹中。之后,我运行此命令,所有文件和文件夹名称都转换为空白矩形,如下所示:
sudo fc-cache -f -v
我该如何修复 Ubuntu?目前我在提到的文件夹中有这些字体,我无法删除它们:
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-MI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-B.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-L.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-BI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-M.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-RI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-LI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-BI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-R.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-RI.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-Th.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-R.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/UbuntuMono-B.ttf': Permission denied
rm: cannot remove '/home/ai-station/.fonts/Ubuntu-C.ttf': Permission denied