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/how-to-configure-rhel-centos-7.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: How to configure RHEL/CentOS 7
2
+
title: How to configure RHEL/CentOS 7 - Speech service
3
3
titleSuffix: Azure Cognitive Services
4
4
description: Learn how to configure RHEL/CentOS 7 so that the Speech SDK can be used.
5
5
services: cognitive-services
@@ -8,31 +8,31 @@ manager: jhakulin
8
8
ms.service: cognitive-services
9
9
ms.subservice: speech-service
10
10
ms.topic: conceptual
11
-
ms.date: 03/20/2020
11
+
ms.date: 04/02/2020
12
12
ms.author: pankopon
13
13
---
14
14
15
15
# Configure RHEL/CentOS 7 for Speech SDK
16
16
17
-
Red Hat Enterprise Linux (RHEL) 8 x64 and CentOS 8 x64 are officially supported from the Speech SDK version 1.10.0 onwards. It is also possible to use the Speech SDK on RHEL/CentOS 7 x64, but this requires updating the C++ compiler (for C++ development) and the shared C++ runtime library on the system.
17
+
Red Hat Enterprise Linux (RHEL) 8 x64 and CentOS 8 x64 are officially supported by the Speech SDK version 1.10.0 and later. It is also possible to use the Speech SDK on RHEL/CentOS 7 x64, but this requires updating the C++ compiler (for C++ development) and the shared C++ runtime library on your system.
18
18
19
-
To check the C++ compiler version, run a command:
19
+
To check the C++ compiler version, run:
20
20
21
21
```bash
22
22
g++ --version
23
23
```
24
24
25
-
If the compiler is installed, the output on vanilla RHEL/CentOS 7 should be like:
25
+
If the compiler is installed, the output should look like this:
26
26
27
-
```
27
+
```bash
28
28
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
29
29
```
30
30
31
-
i.e. GCC major version 4. This does not have full support for the C\+\+11 standard that Speech SDK uses, and an attempt to compile a C++ program with Speech SDK headers will result in compilation errors.
31
+
This message lets you know that GCC major version 4 is installed. This version doesn't have full support for the C++ 11 standard, which the Speech SDK uses. Trying to compile a C++ program with this GCC version and the Speech SDK headers will result in compilation errors.
32
32
33
-
Another thing to check is the version of the shared C++ runtime library (libstdc++). Most of Speech SDK is implemented as native C++ libraries, thus it depends on libstdc++ regardless of the actual application development language.
33
+
It's also important to check is the version of the shared C++ runtime library (libstdc++). Most of the Speech SDK is implemented as native C++ libraries, meaning it depends on libstdc++ regardless of the language you use to develop applications.
34
34
35
-
To find the location of libstdc++ on the system, run a command:
35
+
To find the location of libstdc++ on your system, run:
36
36
37
37
```bash
38
38
ldconfig -p | grep libstdc++
@@ -44,13 +44,13 @@ The output on vanilla RHEL/CentOS 7 (x64) is:
The output on vanilla RHEL/CentOS 7 (with only the highest version definitions shown):
53
+
The output should be:
54
54
55
55
```
56
56
...
@@ -60,14 +60,14 @@ CXXABI_1.3.7
60
60
...
61
61
```
62
62
63
-
The Speech SDK requires **CXXABI_1.3.9** and **GLIBCXX_3.4.21**. (This can be seen e.g. by running `ldd libMicrosoft.CognitiveServices.Speech.core.so` on Speech SDK libraries from the Linux package.)
63
+
The Speech SDK requires **CXXABI_1.3.9** and **GLIBCXX_3.4.21**. You can find this information by running `ldd libMicrosoft.CognitiveServices.Speech.core.so` on the Speech SDK libraries from the Linux package.
64
64
65
-
[!TIP]
66
-
It is recommended that the version of GCC installed on the system is at least **5.4.0**, with matching runtime libraries.
65
+
> [!TIP]
66
+
> It is recommended that the version of GCC installed on the system is at least **5.4.0**, with matching runtime libraries.
67
67
68
68
## Example
69
69
70
-
To configure RHEL/CentOS 7 x64 for development (C++, C#, Java, Python) with the SpeechSDK 1.10.0 or later, consider the following example command set.
70
+
This is a sample command that illustrates how to configure RHEL/CentOS 7 x64 for development (C++, C#, Java, Python) with the Speech SDK 1.10.0 or later:
The Speech service SDK **Compressed Audio Input Stream** API provides a way to stream compressed audio to the Speech service using either a `PullStream` or `PushStream`.
19
19
20
20
> [!IMPORTANT]
21
-
> Streaming compressed input audio is currently supported for C#, C++, Java on Windows (UWP application is not supported currently) and Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8). It is also supported for Java in Android and Objective-C in iOS platform.
22
-
> Speech SDK version 1.7.0 or higher is required (version 1.10.0 or higher for RHEL 8, CentOS 8 and version 1.11.0 or higher for Windows).
21
+
> Streaming compressed input audio is currently supported for C#, C++, Java on Windows (UWP applications aren't supported) and Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8). It is also supported for Java in Android and Objective-C in iOS platform.
22
+
> Speech SDK version 1.7.0 or later is required (version 1.10.0 or later for RHEL 8 and CentOS 8, and version 1.11.0 or later for Windows).
0 commit comments