刪除Linux中的/bin條目 2024-7-12 • linux shell yum 我已經安裝了CentOS。我想刪除 bzip2,所以我在 shell 中輸入以下命令: yum remove bzip2 bzip2-libs 然後近500個包被刪除,我無法輸入任何命令。例如: ls -bash: /bin/ls no such file or directory 如何重新安裝遺失的軟體包? 答案1 嘗試恢復系統可能需要幾個小時。我建議只是重新安裝。 答案2 它是 的一部分coreutils。安裝那個 相關內容