Posted By

yuconner on 10/06/06


Tagged

commands


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vbert


useful apt-get commands


 / Published in: Bash
 

  1. #search
  2. apt-cache search packagename
  3.  
  4. #package info
  5. apt-cache show packagename
  6.  
  7. #clean
  8. sudo apt-get clean
  9. sudo apt-get autoclean #old packages
  10.  
  11. #check
  12. apt-get check
  13.  
  14. #get source code
  15. apt-get source packagename
  16.  
  17. #get dep
  18. apt-get build-dep packagename
  19.  
  20. #update/install/remove/upgrade
  21. sudo apt-get update
  22. sudo apt-get install packagename
  23. sudo apt-get remove packagename
  24. sudo apt-get upgrade
  25. sudo apt-get dist-upgrade

Report this snippet  

You need to login to post a comment.