File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,32 +11,20 @@ ms.custom:
1111
1212Use the following steps to install the ** mssql-tools18** on Red Hat Enterprise Linux.
1313
14- 1 . Enter superuser mode.
15-
16- ``` bash
17- sudo su
18- ```
19-
20141 . Download the Microsoft Red Hat repository configuration file.
2115
2216 - For Red Hat 8, use the following command:
2317
2418 ``` bash
25- curl https://packages.microsoft.com/config/rhel/8/prod.repo > /etc/yum.repos.d/mssql-release.repo
19+ curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo
2620 ```
2721
2822 - For Red Hat 7, use the following command:
2923
3024 ` ` ` bash
31- curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo
25+ curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo
3226 ` ` `
3327
34- 1. Exit superuser mode.
35-
36- ` ` ` bash
37- exit
38- ` ` `
39-
40281. If you had a previous version of ** mssql-tools** installed, remove any older unixODBC packages.
4129
4230 ` ` ` bash
Original file line number Diff line number Diff line change @@ -11,51 +11,39 @@ ms.custom:
1111
1212Use the following steps to install the ** mssql-tools18** on SUSE Linux Enterprise Server.
1313
14- 1 . Enter superuser mode.
15-
16- ``` bash
17- sudo su
18- ```
19-
20141 . Import the Microsoft package signing key.
2115
2216 ``` bash
2317 curl -O https://packages.microsoft.com/keys/microsoft.asc
24- rpm --import microsoft.asc
18+ sudo rpm --import microsoft.asc
2519 ```
2620
27211 . Add the [ !INCLUDE [ ssnoversion-md] ( ../../includes/ssnoversion-md.md )] repository to Zypper.
2822
2923 - For SLES 15, use the following command:
3024
3125 ``` bash
32- zypper ar https://packages.microsoft.com/config/sles/15/prod.repo
26+ sudo zypper ar https://packages.microsoft.com/config/sles/15/prod.repo
3327 ```
3428
3529 - For SLES 12, use the following command:
3630
3731 ` ` ` bash
38- zypper ar https://packages.microsoft.com/config/sles/12/prod.repo
32+ sudo zypper ar https://packages.microsoft.com/config/sles/12/prod.repo
3933 ` ` `
4034
41- 1. Exit superuser mode.
42-
43- ` ` ` bash
44- exit
45- ` ` `
46-
47351. Install ** mssql-tools18** with the unixODBC developer package.
4836
4937 - For SLES 15, use the following command:
5038
5139 ` ` ` bash
52- zypper install -y mssql-tools18 unixODBC-devel glibc-locale-base
40+ sudo zypper install -y mssql-tools18 unixODBC-devel glibc-locale-base
5341 ` ` `
5442
5543 - For SLES 12, use the following command:
5644
5745 ` ` ` bash
58- zypper install -y mssql-tools18 unixODBC-devel
46+ sudo zypper install -y mssql-tools18 unixODBC-devel
5947 ` ` `
6048
6149 > [! NOTE]
Original file line number Diff line number Diff line change @@ -16,12 +16,6 @@ Use the following steps to install the **mssql-tools18** on Ubuntu.
1616> - Ubuntu 18.04 is supported starting with [ !INCLUDE [ sssql19-md] ( ../../includes/sssql19-md.md )] CU 3.
1717> - Ubuntu 20.04 is supported starting with [ !INCLUDE [ sssql19-md] ( ../../includes/sssql19-md.md )] CU 10.
1818
19- 1 . Enter superuser mode.
20-
21- ``` bash
22- sudo su
23- ```
24-
25191 . Import the public repository GPG keys.
2620
2721 ``` bash
@@ -33,27 +27,21 @@ Use the following steps to install the **mssql-tools18** on Ubuntu.
3327 - For Ubuntu 20.04, use the following command:
3428
3529 ``` bash
36- curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
30+ curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
3731 ```
3832
3933 - For Ubuntu 18.04, use the following command:
4034
4135 ` ` ` bash
42- curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
36+ curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
4337 ` ` `
4438
4539 - For Ubuntu 16.04, use the following command:
4640
4741 ` ` ` bash
48- curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
42+ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
4943 ` ` `
5044
51- 1. Exit superuser mode.
52-
53- ` ` ` bash
54- exit
55- ` ` `
56-
57451. Update the sources list and run the installation command with the unixODBC developer package.
5846
5947 ` ` ` bash
You can’t perform that action at this time.
0 commit comments