Skip to content

Commit aea00d7

Browse files
authored
Fixes (#1729)
* consistently use "DNF" in the headings * add some single code blocks for mentioned commands (i.e., `perl`) * fix "groupinstall" to "group install" * reword one sentence
1 parent 1e8edac commit aea00d7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/guides/package_management/dnf_package_manager.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ At this point you can use the Dnf package manager on Rocky Linux operating syste
2828
sudo dnf install package_name1 package_name2 package_name3
2929
```
3030

31-
To install perl:
31+
To install `perl`:
3232

3333
```bash
3434
sudo dnf install perl
@@ -83,7 +83,7 @@ Is this ok [y/N]:
8383
Installing a package group, as for **Xfce desktop** or **Kde desktop**, and so on, is similar:
8484

8585
```bash
86-
sudo dnf groupinstall xfce
86+
sudo dnf group install xfce
8787
```
8888

8989
Which will generate output such as this:
@@ -297,15 +297,15 @@ Freed space: 343 M
297297
Is this ok [y/N]:
298298
```
299299

300-
Removing a group has the following syntax. Note that removing the KDE group can be done several ways:
300+
Removing a group has the following syntax. Note that removing the KDE group is possible several ways:
301301

302302
```bash
303303
sudo dnf group remove "KDE Plasma Workspaces"
304304
sudo dnf group remove kde-desktop-environment
305305
sudo dnf remove @kde-desktop-environment
306306
```
307307

308-
## Dnf list
308+
## DNF list
309309

310310
You can list any package, even if you do not know the entire name of the package, by running this command:
311311

@@ -343,7 +343,7 @@ kernel-uki-virt.x86_64
343343
kernelshark.x86_64 1:1.2-10.el9 appstream
344344
```
345345

346-
List information on installed and available kernel tools and modules matching information with this command:
346+
List information on installed and available kernel tools, modules, and matching information with this command:
347347

348348
```bash
349349
sudo dnf list kernel-tools\* kernel-modules\*
@@ -519,7 +519,7 @@ Search for more than one package in one search by running this command:
519519
sudo dnf search all yum vim
520520
```
521521
522-
The command will return a long list of packages that include "yum" and "vim", either as the package name, or as descriptions for other packages.
522+
The command will return a long list of packages that include "yum" and "vim", as the package name, or as descriptions for other packages.
523523
524524
### DNF package information
525525
@@ -563,7 +563,7 @@ To display information about all available packages, both installed and availabl
563563
sudo dnf repoquery perl --info
564564
```
565565
566-
While it is not always the case, in the above instance, the results of the command is identical to the `sudo dnf info perl` command.
566+
While it is not always the case, in the above instance, the results of this command is identical to the `sudo dnf info perl` command.
567567
568568
## DNF repository configuration
569569

0 commit comments

Comments
 (0)