Skip to content

simplify rpm repo install #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions docs/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,11 @@ To search what Microsoft packages are available after installing, change to the

The Red Hat Package Manager (rpm) instructions assume that the package management client command is `dnf` but some rpm-based Linux distributions might be using other package managers, such as `yum` or `tdnf`.

- Download the repo config package:
- Install the repo config package:
> [!IMPORTANT]
>Make sure to replace the distribution and version with the appropriate strings.
````bash
curl -sSL -O https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.rpm
````
- Install the repo config package:
````bash
sudo rpm -i packages-microsoft-prod.rpm
sudo rpm -i https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.rpm
````
- Delete the repo config package after installing:
````bash
Expand All @@ -126,15 +122,11 @@ sudo dnf install <package-name>
````
As an example of a pckage client that uses `yum`, the steps may be slightly different.

- Download the repo config package:
- Install the repo config package:
> [!IMPORTANT]
>Make sure to replace the distribution and version with the appropriate strings.
````bash
curl -sSL -O https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.rpm
````
- Install the repo config package:
````bash
sudo rpm -i packages-microsoft-prod.rpm
sudo rpm -i https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.rpm
````
- Update package index files:
````bash
Expand Down