删除/etc/yum.d/
时间: 2023-08-26 22:04:47 浏览: 102
要删除/etc/yum.d/目录下的文件,您可以使用以下命令: "rm -rf /etc/yum.d/"。这个命令会删除该目录下的所有文件和子目录。请注意,在执行此命令之前,请确保您不再需要这些文件和目录,并且您具有足够的权限来执行删除操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [CentOS下yum命令报错File contains no section headers. file: file:///etc/yum.repos.d/](https://blog.csdn.net/xiongIT/article/details/127705053)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [yum安装 一直出现There are no enabled repositories in “/etc/yum.repos.d“, “/etc/yum/repos.d“, 的...](https://blog.csdn.net/weixin_56483756/article/details/124185212)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文