author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.custom |
---|---|---|---|---|---|---|
VanMSFT |
vanto |
03/18/2021 |
sql |
machine-learning-services |
include |
intro-installation, linux-related-content |
- RExtension requires GLIBCXX_3.4.20. Make sure the version of libstdc++.so.6 on your Red Hat Enterprise Linux (RHEL) installation provides this.
Note
If you have Machine Learning Services installed on SQL Server 2019, the mssql-server-extensibility package for Language Extensions is already installed and you can skip this step.
Run the command below to install SQL Server Language Extensions on Red Hat Enterprise Linux (RHEL), which is used for the R custom runtime.
# Install as root or sudo
sudo yum install mssql-server-extensibility
-
If you have Machine Learning Services installed, R is already installed in
/opt/microsoft/ropen/3.5.2/lib64/R
. If you want to keep using this path as your R_HOME, you can skip this step.If you want to use a different runtime of R, you first need to remove
microsoft-r-open-mro
before continuing to install a new version.sudo yum erase microsoft-r-open-mro-3.5.2
-
Install R (3.3 or later) 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.
sudo yum install -y R