diff --git a/pages/linux/apt-get.md b/pages/linux/apt-get.md index ab8075faf6..01f9057658 100644 --- a/pages/linux/apt-get.md +++ b/pages/linux/apt-get.md @@ -2,11 +2,11 @@ > Debian and Ubuntu package management utility. -- Synchronize list of packages and versions available. This should be run first, before running subsequent apt-get commands: +- Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands): `apt-get update` -- Install a new package: +- Install a package, or update it to the latest available version: `apt-get install {{package}}` @@ -14,14 +14,14 @@ `apt-get remove {{package}}` -- Upgrade installed packages to newest available versions: +- Upgrade all installed packages to their newest available versions: `apt-get upgrade` -- Remove no longer needed packages: +- Remove all packages that are no longer needed: `apt-get autoremove` -- Upgrade installed packages (like "upgrade"), but remove obsolete packages and install additional packages to meet new dependencies: +- Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies: `apt-get dist-upgrade` diff --git a/pages/linux/apt.md b/pages/linux/apt.md index d9ad5889c0..17c92aadd0 100644 --- a/pages/linux/apt.md +++ b/pages/linux/apt.md @@ -2,11 +2,11 @@ > Package management utility for Debian based distributions. -- Update list of packages and versions available. This should be run before running further apt commands: +- Update the list of available packages and versions (it's recommended to run this before other `apt` commands): `sudo apt update` -- Search for packages: +- Search for a given package: `apt search {{package}}` @@ -14,14 +14,14 @@ `apt show {{package}}` -- Install a new package: +- Install a package, or update it to the latest available version: `sudo apt install {{package}}` -- Remove a package (using "purge" instead also removes its configuration files): +- Remove a package (using `purge` instead also removes its configuration files): `sudo apt remove {{package}}` -- Upgrade installed packages to the newest available versions: +- Upgrade all installed packages to their newest available versions: `sudo apt upgrade`