首页 > 代码库 > Ubuntu彻底删除软件及配置文件

Ubuntu彻底删除软件及配置文件

1.sudo apt-get purge g++ nload gdb make nginx php5-fpm php5-cli php5-mysqlnd php5-json php5-curl php5-gd php5-mcrypt mysql-server spawn-fcgi
2.sudo apt-get autoremove
3.sudo apt-get autoclean
4.sudo apt-get clean
5.dpkg -l|grep ^rc|awk ‘{print $2}‘|sudo xargs dpkg -P





参考:

http://zhidao.baidu.com/link?url=TXRct6tw81_p_4Wu3nIR0PeUTDwe7d_ui-7JFuGsjTZqSaIZ9Q_e1s9-IpSU9_JzmTaNK4MnQGi0umM8zpAgb_
http://www.2cto.com/os/201210/159589.html

本文出自 “醉寒江” 博客,请务必保留此出处http://cjlozbg.blog.51cto.com/3513565/1408100