Advertisement
guspert

linux_commands

Oct 8th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Linux CLI / Terminal Commands
  2.  
  3. ...$ sudo apt-get update
  4.  
  5. ...$ sudo apt-get upgrade
  6. Update one particular package after doing the update
  7. ...$ sudo apt-get --only-upgrade install PACKAGE
  8. example: ...$ sudo apt-get --only-upgrade install firefox
  9.  
  10. ...$ sudo apt-get dist-upgrade
  11.  
  12. for packages that were automatically installed and are no longer required
  13. ...$ sudo apt-get autoremove
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement