From 853b7554a0a5890479b15cc0459f9b9feb8fcafd Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Wed, 8 Feb 2023 21:34:02 +0000 Subject: [PATCH] list apt equivalent of dnf update --- modules/ROOT/pages/dnf-vs-apt.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ROOT/pages/dnf-vs-apt.adoc b/modules/ROOT/pages/dnf-vs-apt.adoc index 58be859..4506c7c 100644 --- a/modules/ROOT/pages/dnf-vs-apt.adoc +++ b/modules/ROOT/pages/dnf-vs-apt.adoc @@ -16,6 +16,12 @@ APT is the package manager/dependency solver for the Debian ecosystem, i.e. it m | Of course, actual package names may vary. For example, `libc6-dev` on Debian maps to `glibc-devel` in the Fedora universe. +| `apt install --only-upgrade package` + +| `dnf update package` + +| Updates only already installed package and its dependencies. The `apt install` works for both install and upgrade single package if already installed. + | `apt update` `apt-get update`