Skip to content

Commit 1b5879a

Browse files
Merge pull request #133 from MicrosoftDocs/dharshanb/linux-broker-update
update linux broker dependencies
2 parents edd5939 + bcf02a8 commit 1b5879a

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

msal-python-conceptual/advanced/linux-broker-py-wsl.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ Install the following dependencies on your Linux platform:
5252
To install on debian/Ubuntu based Linux distribution:
5353

5454
```bash
55-
sudo apt install libsecret-1-0 -y
55+
sudo add-apt-repository -y universe
56+
sudo apt update
57+
sudo apt install libwebkit2gtk-4.1-dev libsecret-1-0 -y
5658

5759
#from Powershell, run
5860
wsl.exe --shutdown
@@ -63,7 +65,15 @@ wsl.exe --shutdown
6365
To install on Red Hat/Fedora based Linux distribution:
6466

6567
```bash
66-
sudo dnf install libsecret-1-0 -y
68+
sudo dnf install libsecret-1-0 webkitgtk4-devel libubsan -y
69+
```
70+
71+
For RHEL 8, you'll also need to install OpenSSL3 packages from the EPEL repository:
72+
73+
```bash
74+
sudo dnf install -y "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
75+
sudo dnf update
76+
sudo dnf install -y openssl3-devel openssl3-libs
6777

6878
#from Powershell, run
6979
wsl.exe --shutdown

msal-python-conceptual/advanced/linux-broker-py.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,25 @@ If not, install it using the package manager for your distribution.
135135
To install on debian/Ubuntu based Linux distribution:
136136

137137
```bash
138-
sudo apt install python3 python3-pip -y
138+
sudo add-apt-repository -y universe
139+
sudo apt update
140+
sudo apt install python3 python3-pip libwebkit2gtk-4.1-dev -y
139141
```
140142

141143
#### [Red Hat Enterprise Linux](#tab/rheldep)
142144

143145
To install on Red Hat/Fedora based Linux distribution:
144146

145147
```bash
146-
sudo dnf install python3 python3-pip -y
148+
sudo dnf install python3 python3-pip libubsan webkitgtk4-devel -y
149+
```
150+
151+
For RHEL 8, you'll also need to install OpenSSL3 packages from the EPEL repository:
152+
153+
```bash
154+
sudo dnf install -y "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
155+
sudo dnf update
156+
sudo dnf install -y openssl3-devel openssl3-libs
147157
```
148158

149159
---

0 commit comments

Comments
 (0)