Debian-based Linux distributions




Download 5,03 Mb.
Pdf ko'rish
bet19/26
Sana25.05.2024
Hajmi5,03 Mb.
#253254
1   ...   15   16   17   18   19   20   21   22   ...   26
Bog'liq
linux

Debian-based Linux distributions
Red Hat-based Linux distributions


microsoft-prod.rpm
Install the repo config package: 
sudo rpm -i packages-microsoft-prod.rpm
Delete the repo config package after installing: 
rm packages-microsoft-prod.rpm
Update package index files: 
sudo dnf update
To install the Microsoft product package you're after using this Linux repository
(packages.microsoft.com): 
sudo dnf install 
As an example of a pckage client that uses 
yum
, the steps may be slightly different.
Download the repo config package: 
curl -sSL -O
https://packages.microsoft.com/config///packages-
microsoft-prod.rpm
Install the repo config package: 
sudo rpm -i packages-microsoft-prod.rpm
Update package index files: 
sudo yum update
To install the Microsoft product package you're after using this Linux repository
(packages.microsoft.com): 
sudo yum install 
See 
packages.microsoft.com
to find the list of supported Linux distributions and
versions. Once the packages.microsoft.com repo has been installed an updated, you can
use the package manager to list the packages available from Microsoft.
For example: 
dnf repository-packages packages-microsoft-com-prod list
or 
yum repo-
pkgs packages-microsoft-com-prod list
.
Recommendations for using the resources on packages.microsoft.com include:
The metadata for each package should be considered the source of truth for a
given package path if and when a change occurs.
When possible, use the config files located under 
/config
and use standard Linux
package managers.
If you need to programmatically "find" a given package, without using a package
manager, be sure to parse the metadata
not
the html.

Download 5,03 Mb.
1   ...   15   16   17   18   19   20   21   22   ...   26




Download 5,03 Mb.
Pdf ko'rish