yum autoremove

原文地址 https://segmentfault.com/q/1010000000626683 对于 apt: 1 2 apt-get purge <your package> apt-get autoremove 对于 yum,需要在 /etc/yum.conf 里面添加一个配置: 1 clean_requirements_on_remove=1 然后就可以使用 yum autoremove 清除依赖了,不过这个功能貌似在 yum 3.2.29 里面才有...

九月 5, 2017 · 1 分钟 · hguandl

路由器安装使用 S5

原文 https://cokebar.info/archives/664 https://cokebar.info/archives/850 使用作者提供的软件源安装及更新 http://openwrt-dist.sourceforge.net 使用计划任务检测连接状态 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/bin/sh LOGTIME=$(date "+%Y-%m-%d %H:%M:%S") wget --spider --quiet --tries=1 --timeout=10 https://www.facebook.com/ if [ "$?" == "0" ]; then echo '['$LOGTIME'] No Problem.' exit...

九月 5, 2017 · 1 分钟 · hguandl

Homebrew autoremove 清理依赖

原链接 Uninstall / remove a Homebrew package including all its dependencies The issue is now solved using an external command called brew rmdeps or brew rmtree. To install and use, issue the following commands: 1 2 $ brew tap beeftornado/rmtree $ brew rmtree <package> See the above link for more information and discussion.

九月 5, 2017 · 1 分钟 · hguandl