Learn how to deal with packages and updates in Ubuntu in only 20 minutes!
The explanation of update vs upgrade is slightly wrong, but this is a better explanation: https://askubuntu.com/questions/94102...
Also, for those wondering about "apt full-upgrade" or "apt-get dist-upgrade": https://askubuntu.com/questions/19465...
Commands (anything that startts with $ means that you have to fill it in, i.e. cd $directory should acutally be something like cd Desktop):
List packages: dpkg -l
List info about specific package: dpkg -l $package
Search packages: dpkg -l | grep $search-query
Uninstall package: sudo apt remove $package
Uninstall package along with config files and related packages: sudo apt purge $package
Search available packages: apt search $search-query
Get more info about package: apt show $package
Check if package is installed and what version: apt-cache policy $package
Install package: sudo apt install $package
Find location of command: which $command
Check what package a file is part of: dpkg -S $file
List files in package: dpkg -L $package
Modify update settings: software-properties-gtk &
Update the apt cache with new available packages and updates: sudo apt update
Download and install the updates: sudo apt upgrade
The operating system used was Ubuntu 14.04 LTS: http://www.ubuntu.com/
The VM used to run Ubuntu 14.04 was VMWare Workstation Player 12.0: https://www.vmware.com/products/playe...
Also, this was recorded with Kazam: https://apps.ubuntu.com/cat/applicati...
Share this YouTube channel with the following link! https://bit.ly/nhmyoutubechannel