Things that I will show you how to do:
- Search for packages using apt-get
- Update system package lists
- Upgrade software packages
- Install and remove specific software packages
- Check for broken dependencies
1. Search for packets that you would like to install using apt-get.
This command can be used to search for packets and find the specific name so that it can be installed. It also gives a short description on what each piece of software is.
apt-cache search google-chrome
2. Update system package lists.
This command downloads the package lists from the repositories to get info on the new packages available.
sudo apt-get update
The "sudo" command is needed as you need to be root to update the packages as protected files are accessed.
3. Upgrade software files.
This searches for any updated software that is currently installed on your computer.
sudo apt-get upgrade
"sudo apt-get update"
This command should be run before running this command to get a fresh package list.
4. Install and remove specific packages.
sudo apt-get install <package name>
sudo apt-get remove <package name>
This removes just the package.
sudo apt-get purge <package name>
This removes the config files and the package.