Ubuntu Tips

From Aicip
Revision as of 23:21, 11 February 2009 by Fwang2 (talk | contribs) (New page: === Clean Up System === * remove package with RC status dpkg -l | grep '^rc\b' | awk '{print $2}' | xargs sudo aptitude -y purge * remove unused dev library sudo apt-get install debo...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Clean Up System

  • remove package with RC status
 dpkg -l | grep '^rc\b' | awk '{print $2}' | xargs sudo aptitude -y purge
  • remove unused dev library
 sudo apt-get install deborphan
 sudo apt-get --purge remove `deborphan` && sudo apt-get autoremove