docs: update distribution/guides/software-management/DNF

This commit is contained in:
Ben Bullard 2022-03-02 03:40:30 +00:00 committed by omakuta
parent fb8365a3bf
commit 0b1c9b0c40
1 changed files with 16 additions and 4 deletions

View File

@ -2,9 +2,9 @@
title: Using dnf in OpenMandriva Lx title: Using dnf in OpenMandriva Lx
description: description:
published: true published: true
date: 2020-12-21T23:52:30.588Z date: 2022-03-02T03:40:26.848Z
tags: tags: documentation, dnf, user-guide
editor: undefined editor: markdown
dateCreated: 2020-03-06T18:48:34.373Z dateCreated: 2020-03-06T18:48:34.373Z
--- ---
@ -29,9 +29,12 @@ Note: 'dnf search' will work with partial names as well
- cleanup any files and packages left in cache and to remove repository metadata: - cleanup any files and packages left in cache and to remove repository metadata:
`$ sudo dnf clean all ; dnf clean all` `$ sudo dnf clean all ; dnf clean all`
- update your system: - update your Rock system:
`$ sudo dnf --refresh upgrade ` `$ sudo dnf --refresh upgrade `
- update your Rolling system:
`$ sudo dnf --refresh distro-sync `
## Some other common dnf commands ## Some other common dnf commands
`autoremove` `autoremove`
@ -56,6 +59,15 @@ reinstalls the currently installed package
`repolist` `repolist`
list enabled repositories list enabled repositories
## Some commands may be abbreviated
`dnf in=dnf install`
`dnf ri=dnf reinstall`
`dnf dg=dnf downgrade`
`dnf rm=dnf remove`
`dnf up=dnf upgrade`
`dnf dsync=dnf distro-sync`
## Some common dnf options ## Some common dnf options
`--allowerasing` `--allowerasing`