Skip to content

Commit

Permalink
Clarify the docs regarding libcurl for installation on openSUSE (Micr…
Browse files Browse the repository at this point in the history
…osoftDocs#2169)

- Explicitly mention the conflict error and the solution.

- Make the command that looks for libcurl more precise, since the goal is to find the specific package that places the lib in the place where the RHEL PS package looks for it.

Ref: PowerShell/PowerShell#6184
  • Loading branch information
arsing authored and Sean Wheeler committed Mar 12, 2018
1 parent 4f8b258 commit aa47cef
Showing 1 changed file with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,21 @@ sudo yum remove powershell

## OpenSUSE 42.2

> **Note:** When installing PowerShell Core, OpenSUSE may report that nothing provides `libcurl`.
`libcurl` should already be installed on supported versions of OpenSUSE.
Run `zypper search libcurl` to confirm.
The error will present 2 'solutions'. Choose 'Solution 2' to continue installing PowerShell Core.
> **Note:** When installing PowerShell Core, `zypper` may report the following error:
>
> ```text
> Problem: nothing provides libcurl needed by powershell-6.0.1-1.rhel.7.x86_64
> Solution 1: do not install powershell-6.0.1-1.rhel.7.x86_64
> Solution 2: break powershell-6.0.1-1.rhel.7.x86_64 by ignoring some of its dependencies
> ```
>
> In this case, verify that a compatible `libcurl` library is present by checking that the following command shows the `libcurl4` package as installed:
>
> ```sh
> zypper search --file-list --match-exact '/usr/lib64/libcurl.so.4'
> ```
>
> Then choose the `break powershell-6.0.1-1.rhel.7.x86_64 by ignoring some of its dependencies` solution when installing the `powershell` package.
### Installation via Package Repository (preferred) - OpenSUSE 42.2
Expand Down

0 comments on commit aa47cef

Please sign in to comment.