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

你可能感兴趣的:(配置文件,purge)