Difference between revisions of "Powershell on Redhat or Centos"
Jump to navigation
Jump to search
(Created page with "/etc/yum.repos.d/microsoft.repo ``` name=packages-microsoft-com-pwsh baseurl=https://packages.microsoft.com/rhel/8/prod/ enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft...") |
|||
Line 1: | Line 1: | ||
+ | # RHEL/Centos 8 | ||
+ | |||
/etc/yum.repos.d/microsoft.repo | /etc/yum.repos.d/microsoft.repo | ||
``` | ``` |
Revision as of 00:04, 9 July 2021
RHEL/Centos 8
/etc/yum.repos.d/microsoft.repo
name=packages-microsoft-com-pwsh baseurl=https://packages.microsoft.com/rhel/8/prod/ enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.com/keys/microsoft.asc
upgrade repos and install
sudo yum upgrade sudo yum install powershell