Change-Id: Ie071b2f3746bd9f31a1749eb32046f38fc34809c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1296
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Steve Hoenisch <shoenisch@vmware.com>
Tested-by: Steve Hoenisch <shoenisch@vmware.com>
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
|
| 3 | 3 |
## Introduction |
| 4 | 4 |
|
| 5 |
-Photon OS manages packages with an open source, yum-compatible package manager called tdnf, for Tiny DNF. Tdnf keeps the operating system as small as possible while preserving yum's robust package-management capabilities. |
|
| 5 |
+Photon OS manages packages with an open source, yum-compatible package manager called tdnf, for [Tiny Dandified Yum](https://github.com/vmware/tdnf). Tdnf keeps the operating system as small as possible while preserving yum's robust package-management capabilities. |
|
| 6 | 6 |
|
| 7 | 7 |
On Photon OS, tdnf is the default package manager for installing new packages. It is a C implementation of the DNF package manager without Python dependencies. DNF is the next upcoming major version of yum. |
| 8 | 8 |
|
| ... | ... |
@@ -10,11 +10,11 @@ Tdnf appears in the minimal and full versions of Photon OS. Tdnf reads yum repos |
| 10 | 10 |
|
| 11 | 11 |
In the minimal version of Photon OS, you can manage packages by using yum, but you must install it first by running the following tdnf command as root: |
| 12 | 12 |
|
| 13 |
- tndf install yum |
|
| 13 |
+ tdnf install yum |
|
| 14 | 14 |
|
| 15 |
-## How to configure a repository |
|
| 15 |
+## How to Configure a Repository |
|
| 16 | 16 |
|
| 17 |
-Photon OS comes with a prconfigured repository called `photon-iso` that resides in `\etc\yum.repos.d.` If you receive an access error message when working with the `photon-iso` repository, it is probably because you do not have the Photon OS ISO mounted. Mount the ISO and the run the following command to update the metadata for all known repositories, including `photon-iso`: |
|
| 17 |
+Photon OS comes with a preconfigured repository called `photon-iso` that resides in `\etc\yum.repos.d.` If you receive an access error message when working with the `photon-iso` repository, it is probably because you do not have the Photon OS ISO mounted. Mount the ISO and the run the following command to update the metadata for all known repositories, including `photon-iso`: |
|
| 18 | 18 |
|
| 19 | 19 |
mount /dev/cdrom /media/cdrom |
| 20 | 20 |
tdnf makecache |
| ... | ... |
@@ -44,4 +44,4 @@ List enabled repositories: |
| 44 | 44 |
|
| 45 | 45 |
Tdnf implements a subset of the dnf commands as listed in the [dnf guide](http://dnf.readthedocs.org/en/latest/). |
| 46 | 46 |
|
| 47 |
-For a description of the tdnf commands and options, including examples, see the [Photon OS Administration Guide](https://github.com/vmware/photon/blob/master/docs/photon-admin-guide.md). |
|
| 47 |
+For a description of the tdnf commands and options, including examples, see the [Photon OS Administration Guide](https://github.com/vmware/photon/blob/master/docs/photon-admin-guide.md). |
|
| 48 | 48 |
\ No newline at end of file |