Skip to content

Commit e1e0022

Browse files
committed
Update RHEL
1 parent a18b1bb commit e1e0022

3 files changed

Lines changed: 29 additions & 4 deletions

File tree

‎docs/machine-learning/install/includes/custom-runtime-r-linux-common.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
---
22
ms.prod: sql
33
ms.technology: machine-learning-services
4-
ms.date: 02/08/2021
4+
ms.date: 02/18/2021
55
ms.topic: include
66
author: dphansen
77
ms.author: davidph
88
---
99
## Custom installation of R
1010

11+
::: zone pivot="platform-linux-ubuntu"
1112
> [!NOTE]
1213
> If you have installed R in the default location of **/usr/lib/R**, you can skip this section and move on to the [Install Rcpp package](#install-rcpp-package-linux) section.
14+
::: zone-end
15+
::: zone pivot="platform-linux-sles"
16+
> [!NOTE]
17+
> If you have installed R in the default location of **/usr/lib/R**, you can skip this section and move on to the [Install Rcpp package](#install-rcpp-package-linux) section.
18+
::: zone-end
1319

1420
### Update the environment variables
1521

‎docs/machine-learning/install/includes/custom-runtime-r-linux-rhel.md‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
---
22
ms.prod: sql
33
ms.technology: machine-learning-services
4-
ms.date: 02/08/2021
4+
ms.date: 03/18/2021
55
ms.topic: include
66
author: dphansen
77
ms.author: davidph
88
---
9+
## Prerequisites
10+
11+
Before installing a R custom runtime, install the following:
12+
13+
+ Install SQL Server 2019 for Linux. You can install SQL Server on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES) version 12, and Ubuntu. For more information, see [the Installation guidance for SQL Server on Linux](../../../linux/sql-server-linux-setup.md).
14+
15+
+ Upgrade to Cumulative Update (CU) 3 or later for SQL Server 2019. Follow these steps:
16+
1. Configure the repositories for Cumulative Updates. For more information, see [Configure repositories for installing and upgrading SQL Server on Linux](../../../linux/sql-server-linux-change-repo.md).
17+
18+
1. Update the **mssql-server** package to the latest Cumulative Update. For more information, see [the Update or Upgrade SQL Server section in the installation guidance for SQL Server on Linux](../../../linux/sql-server-linux-setup.md#upgrade).
19+
20+
+ RExtension requires GLIBCXX_3.4.20. Make sure the version of **libstdc++.so.6** on your RHEL m/c provides this. If **libstdc++.so.6** is not the correct version, you will see this error:
21+
22+
*Exthost: Load extension failed /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/mssql_satellite/externallanguagessandboxpath/libRExtension.so.1.1)*
23+
924
## Install Language Extensions
1025

1126
> [!NOTE]
@@ -28,4 +43,8 @@ sudo yum install mssql-server-extensibility
2843
sudo yum erase microsoft-r-open-mro-3.5.2
2944
```
3045

31-
1. Install [R (3.3 or later)](https://www.r-project.org/) for Red Hat Enterprise Linux (RHEL). By default, R is installed in **/usr/lib/R**. This path is your **R_HOME**. If you install R in a different location, take note of that path as your **R_HOME**.
46+
1. Install [R (3.3 or later)](https://www.r-project.org/) for Red Hat Enterprise Linux (RHEL). By default, R is installed in **/usr/lib64/R**. This path is your **R_HOME**. If you install R in a different location, take note of that path as your **R_HOME**.
47+
48+
```bash
49+
sudo yum install -y R
50+
```

‎docs/machine-learning/install/includes/custom-runtime-r-linux-sles.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sudo zypper install mssql-server-extensibility
2828
sudo zypper remove microsoft-r-open-mro-3.4.4
2929
```
3030

31-
1. Install [R (3.3 or later)](https://www.r-project.org/) for SUSE Linux Enterprise Server (SLES). By default, R is installed in **/usr/lib/R**. This path is your **R_HOME**. If you install R in a different location, take note of that path as your **R_HOME**.
31+
1. Install [R (3.3 or later)](https://www.r-project.org/) for SUSE Linux Enterprise Server (SLES). By default, R is installed in **/usr/lib64/R**. This path is your **R_HOME**. If you install R in a different location, take note of that path as your **R_HOME**.
3232

3333
Follow these steps to install R:
3434

0 commit comments

Comments
 (0)