From 5f6ee2db96a570b3d3819e7cc239a6343a24df50 Mon Sep 17 00:00:00 2001 From: simonfelding <45149055+simonfelding@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:15:23 +0200 Subject: [PATCH] simplify rpm repo install --- docs/packages.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/packages.md b/docs/packages.md index 5027812..7698f51 100644 --- a/docs/packages.md +++ b/docs/packages.md @@ -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///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///packages-microsoft-prod.rpm ```` - Delete the repo config package after installing: ````bash @@ -126,15 +122,11 @@ sudo dnf install ```` 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///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///packages-microsoft-prod.rpm ```` - Update package index files: ````bash