You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/includes/get-speech-sdk-linux.md
+20-11Lines changed: 20 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.author: eur
8
8
9
9
:::row:::
10
10
:::column span="3":::
11
-
The Speech SDK only supports **Ubuntu 18.04/20.04**, **Debian 9/10**, **Red Hat Enterprise Linux (RHEL) 7/8**, and **CentOS 7/8** on the following target architectures when used with Linux:
11
+
The Speech SDK only supports **Ubuntu 18.04/20.04/22.04**, **Debian 9/10/11**, **Red Hat Enterprise Linux (RHEL) 7/8**, and **CentOS 7/8** on the following target architectures when used with Linux:
12
12
:::column-end:::
13
13
:::column:::
14
14
<br>
@@ -18,32 +18,41 @@ ms.author: eur
18
18
:::column-end:::
19
19
:::row-end:::
20
20
21
-
- x86 (Debian/Ubuntu), x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for C++ development
22
-
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for Java
23
-
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for .NET Core
24
-
- x64 for Python
25
-
26
-
> [!IMPORTANT]
27
-
> For C# on Linux ARM64, the .NET Core 3.x (dotnet-sdk-3.x package) is required.
21
+
- x86 (Debian/Ubuntu), x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for **C++** development
22
+
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for **Java**
23
+
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for **.NET Core**
24
+
- x64 (not RHEL/CentOS 7) for **Python**
28
25
29
26
To use the Speech SDK in Alpine Linux, create a Debian chroot environment as documented in the Alpine Linux Wiki on [running glibc programs](https://wiki.alpinelinux.org/wiki/Running_glibc_programs). Then follow the Debian instructions here.
30
27
31
28
### System requirements
32
29
30
+
> [!IMPORTANT]
31
+
> Use the latest point release of the Linux distribution. For example, CentOS 7.9.2009 (or newer if available) for CentOS 7; Ubuntu 18.04.6 (or newer if available) for Ubuntu 18.04 LTS.
32
+
33
33
For a native application, the Speech SDK relies on `libMicrosoft.CognitiveServices.Speech.core.so`. Make sure the target architecture (x86, x64) matches the application. Depending on the Linux version, more dependencies might be required:
34
34
35
35
- The shared libraries of the GNU C library, including the POSIX Threads Programming library, `libpthreads`
36
-
- The OpenSSL library (`libssl`)
36
+
- The OpenSSL library (`libssl`) version 1.x
37
37
- The shared library for ALSA applications (`libasound`)
> On Ubuntu 22.04, install `libssl1.1` either as a binary package from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/ (e.g. `libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb` or newer for x64) or by compiling it from sources. The Speech SDK does not support OpenSSL 3.0 (the default in Ubuntu 22.04) at the moment.
48
+
49
+
Example of installing `libssl1.1` on Ubuntu 22.04:
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/includes/spx-setup.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ Follow these steps to install the Speech CLI in a Docker container:
75
75
```console
76
76
docker pull msftspeech/spx
77
77
```
78
+
78
79
Enter this command to display help information for the Speech CLI:
79
80
80
81
```console
@@ -132,6 +133,15 @@ For more extended interaction with the command-line tool, you can start a contai
132
133
docker run -it --entrypoint=/bin/bash -v c:\spx-data:/data --rm msftspeech/spx
133
134
```
134
135
136
+
You can combine that with AZ Login and have SPX Init guide you through creating the speech keys and selecting a matching data region without having to use the Azure web portal. The keys will automatically be stored for later use.
137
+
138
+
```
139
+
docker run -it --rm --entrypoint /bin/bash -v c:\spx-data:/data msftspeech/spx
140
+
141
+
az login
142
+
spx init
143
+
```
144
+
135
145
<!-- Need to troubleshoot issues with docker pull image
0 commit comments