2023年3月2日

ubuntu 删除容器内没用的包

摘要: 删除多余 apt 包 这些就是依赖的所有动态链接库,接着我们将这些包用 apt-mark 声明为“手工安装的包”,即可阻止 apt purge 的自动卸载。 然后,我们再自动卸载其余没有用到的包即可。完整shell脚本如下: find /usr/local -type f -executable - 阅读全文

posted @ 2023-03-02 17:06 闹不机米 阅读(97) 评论(0) 推荐(0) 编辑

导航