Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
techwiki:ubuntu [2018/04/08 10:25]
ying [Developer Tool]
techwiki:ubuntu [2018/04/08 10:36] (current)
ying [Technical Tips]
Line 118: Line 118:
 ====== Technical Tips ====== ====== Technical Tips ======
  
 +===== new apt cmd vs old apt-get cmd since ubuntu 16 =====
 +
 +  * ref: https://​itsfoss.com/​apt-vs-apt-get-difference/​
 +
 +^ New since U16 ^ old way ^ description ^
 +| apt install | apt-get install | Installs a package |
 +| apt remove | apt-get remove | Removes a package |
 +| apt purge | apt-get purge | Removes package with configuration |
 +| apt update | apt-get update | Refreshes repository index |
 +| apt upgrade | apt-get upgrade | Upgrades all upgradable packages |
 +| apt autoremove | apt-get autoremove | Removes unwanted packages |
 +| apt full-upgrade | apt-get dist-upgrade | Upgrades packages with auto-handling of dependencies |
 +| apt search | apt-cache search | Searches for the program |
 +| apt show | apt-cache show | Shows package details |
 ===== Screenshot with Cmd or Shortcut ===== ===== Screenshot with Cmd or Shortcut =====