You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the format and correct spelling errors (#3131)
* Modify the format and correct spelling errors
* Update 13-softwares.md
One simplification and a correction for the command syntax
* Improve clarity of switch-to command instructions
Clarify the usage of the switch-to command for upgrading or downgrading software packages.
---------
Co-authored-by: sspencerwire <sspencerwire@gmail.com>
Copy file name to clipboardExpand all lines: docs/books/admin_guide/13-softwares.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ The output is broken into 3 separate columns.
218
218
219
219
-**Third column (/etc/chrony.conf)**
220
220
221
-
-**/etc/chrony.conf**:Represents the path of the modified file.
221
+
-**/etc/chrony.conf**: Represents the path of the modified file.
222
222
223
223
## DNF Package Manager
224
224
@@ -272,9 +272,9 @@ The "command" in syntax represents the functional item command of `dnf`. Some co
272
272
273
273
View information on one or more software packages, such as `dnf info wget tree`
274
274
275
-
1.**`deplist` command**
275
+
1.**`deplist` command** (deprecated)
276
276
277
-
Lists the dependencies of the software package, which has been deprecated. Please use `dnf repoquery --deplist <Package-Name>` as an alternative.
277
+
Lists the dependencies of the software package. Please use `dnf repoquery --deplist <Package-Name>` as an alternative.
278
278
279
279
1.**`repolist` command**
280
280
@@ -412,7 +412,7 @@ system-upgrade Prepare system for upgrade to a new release
412
412
413
413
### configuration file description
414
414
415
-
You can find all repository configuration files (ending in`.repo`) in the **/etc/yum.repos** directory.d/** directory. Each `.repo` file can contain a single or multiple repositories, and users can selectively enable or disable them based on their specific situation.
415
+
You can find all repository configuration files (ending in`.repo`) in the **/etc/yum.repos.d/** directory. Each `.repo` file can contain a single or multiple repositories, and users can selectively enable or disable them based on their specific situation.
416
416
417
417
```bash
418
418
ls -l /etc/yum.repos.d/
@@ -469,7 +469,7 @@ For more information, please refer to `man 5 yum.conf`.
469
469
470
470
**Application Streams in RL 8.x and RL 9.x:**: Rocky Linux 8.x and 9.x, use a new modular technology, allowing repositories to host multiple versions of applications and their dependencies. Due to the adoption of a modular architecture, the Application Streams in these two operating systems are also referred to as "Module Streams". System administrators can choose a specific version, which provides greater flexibility. If system administrators need to manage the Application Streams, they often need to use the `dnf module` command.
471
471
472
-
**Application Streams in RL 10.x**: Starting from Rocky Linux 10.x, system administrators can still use the Application Streams, but the Application Streams are no longer provided in a modular form. In other words, in 10.x, the `dnf module` command no longer exists, and system administrators can manage different versions of applications in the traditional way. In this version of the operating system, the term "Application Streams" does not equal "Module Streams".
472
+
**Application Streams in RL 10.x**: Starting from Rocky Linux 10.x, system administrators can still use the Application Streams, but the Application Streams are no longer provided in a modular form. In other words, the `dnf module` command in 10.x no longer works, and system administrators can manage different versions of applications in the traditional way. In this version of the operating system, the term "Application Streams" does not equal "Module Streams".
473
473
474
474
Each Application Stream has a different lifecycle. Please refer to the following link:
475
475
@@ -549,7 +549,7 @@ Installed size: 14 M
549
549
Is this ok [y/N]:
550
550
```
551
551
552
-
Each Module Stream can have any number of profiles (or none at all), and you can mark the profiles of module streams with "[d]" to indicate the "default", or selected, module.
552
+
Each Module Stream can have any number of profiles (or none at all). The default profiles of the Module Stream is marked with "[d]".
553
553
554
554
In the above example, when the user needs to install nginx, the following command is equivalent:
555
555
@@ -571,12 +571,12 @@ The command used is `dnf module`, and it has some subcommands for functional ite
571
571
572
572
#### View
573
573
574
-
You can use the subcommands of the `list` or `info`function items to perform the corresponding operations.
574
+
You can use `list` or `info`in the subcommands to complete this operation.
575
575
576
576
*`dnf module list` - Gets a list of all available modules.
577
-
*`dnf module list <Module-Name>` or `dnf module list <Module-Name>:<Stream>`- Lists all available streams (versions) for the current module. Lists the information of a single module stream. For example,`dnf module list postgresql` or `dnf module list postgresql:15`.
577
+
*`dnf module list <Module-Name>` or `dnf module list <Module-Name>:<Stream>`- Lists all available streams (versions) for the current module. Lists the information of a single module stream. For example `dnf module list postgresql` or `dnf module list postgresql:15`.
578
578
*`dnf module list --enabled` - Lists the enabled module stream(s).
579
-
*`dnf module info <Module-Name>` or `dnf module info info <Module-name>:<Stream>` - Displays module stream information. If you only type the name of a module without a stream, all stream information for that module will be displayed. For example `dnf module info ruby` or `dnf module info ruby:2.6`.
579
+
*`dnf module info <Module-Name>` or `dnf module info <Module-name>:<Stream>` - Displays module stream information. If you only type the name of a module without a stream, all stream information for that module will be displayed. For example `dnf module info ruby` or `dnf module info ruby:2.6`.
580
580
*`dnf moudle --info --profile <Module-Name>` or `dnf moudle --info --profile <Module-Name>:<Stream>` - Lists the profile information of the module stream. If you only type the name of a module without a stream, all stream profile information for that module will be displayed.
The following installation methods are acceptable:
601
601
602
-
*`dnf -y module install <Module-Name>` - Uses the default stream and default profile of a single module (if a default profile exists). For example,`dnf -y install httpd`
603
-
*`dnf -y install <Module-Name>:<Stream>/<Profile>` - Using a specific stream and profile of a single module. For example, `dnf -y install httpd:2.4:/minimal`. If there are multiple profiles, you can use `*` to represent all of them, for example,`dnf module install httpd:2.4/*`
602
+
*`dnf -y module install <Module-Name>` - Uses the default stream and default profile of a single module (if a default profile exists). For example `dnf -y install httpd`
603
+
*`dnf -y install <Module-Name>:<Stream>/<Profile>` - Using a specific stream and profile of a single module. For example, `dnf -y install httpd:2.4:/minimal`. If there are multiple profiles, you can use `*` to represent all of them, for example `dnf module install httpd:2.4/*`
604
604
605
605
#### Remove
606
606
@@ -634,7 +634,7 @@ If there are available updates for the module's stream, you need to perform the
If the installation stream for a specific module is in the operating system, you can also use the 'switch to' command to upgrade or downgrade the software package. The specific syntax is:
637
+
If already installed in the operating system, you can use the `switch-to` command option to upgrade or downgrade these software packages. The specific syntax is:
638
638
639
639
```bash
640
640
dnf module switch-to <Module-Name>:<Stream>
@@ -871,10 +871,10 @@ Is this ok [y/N]:
871
871
872
872
!!! tip "Friendly reminder"
873
873
874
-
When multiple repositories are enabled, the same software package may have multiple versions, and by default, the newer version has the highest priority. This is also the reason why the `--disablerepo` and `--enablrepo` options are used.
874
+
When multiple repositories are enabled, the same software package may have multiple versions, and by default, the newer version has the highest priority. This is also the reason why the `--disablerepo` and `--enablerepo` options are used.
875
875
876
876
!!! attention "Support consideration"
877
877
878
878
EPEL is a project initiated by volunteers in the Fedora community, so it is not commercially supported by Red Hat. Just like Fedora itself, Red Hat hosts the infrastructure for this project, and Red Hat engineers are involved as maintainers and leaders, but there are no commercial support contracts or service-level agreements provided by Red Hat for packages in EPEL.
879
879
880
-
For the FAQ about EPEL, see [The Fedora Project EPEL FAQ here](https://docs.fedoraproject.org/en-US/epel/epel-faq/).
880
+
For the FAQ about EPEL, See [the EPEL FAQ in the Fedora documentation](https://docs.fedoraproject.org/en-US/epel/epel-faq/).
0 commit comments