Skip to content

Commit a16654f

Browse files
committed
update linux broker dependencies
1 parent edd5939 commit a16654f

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Install the following dependencies on your Linux platform:
5252
To install on debian/Ubuntu based Linux distribution:
5353

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

5761
#from Powershell, run
@@ -63,7 +67,15 @@ wsl.exe --shutdown
6367
To install on Red Hat/Fedora based Linux distribution:
6468

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

6880
#from Powershell, run
6981
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)