Skip to content

Commit fd0d09d

Browse files
committed
Removing yum update which is unecessary
1 parent 6bc18e5 commit fd0d09d

6 files changed

Lines changed: 4 additions & 30 deletions

docs/linux/quickstart-install-connect-red-hat.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ To configure SQL Server on RHEL, run the following commands in a terminal to ins
4646
1. Run the following commands to install SQL Server:
4747

4848
```bash
49-
sudo yum update
5049
sudo yum install -y mssql-server
5150
```
5251

@@ -89,14 +88,12 @@ To create a database, you need to connect with a tool that can run Transact-SQL
8988
1. If you had a previous version of **mssql-tools** installed, remove any older unixODBC packages.
9089

9190
```bash
92-
sudo yum update
9391
sudo yum remove unixODBC-utf16 unixODBC-utf16-devel
9492
```
9593

9694
1. Run the following commands to install **mssql-tools** with the unixODBC developer package.
9795

9896
```bash
99-
sudo yum update
10097
sudo yum install -y mssql-tools unixODBC-devel
10198
```
10299

docs/linux/sample-unattended-install-redhat.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ echo Adding Microsoft repositories...
6161
sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo
6262
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
6363

64-
echo Running yum update -y...
65-
sudo yum update -y
66-
6764
echo Installing SQL Server...
6865
sudo yum install -y mssql-server
6966

docs/linux/sql-server-linux-change-repo.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,8 @@ To change from the preview repository to one source repository (CU or GDR), use
4949
| RHEL | GDR | `sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017-gdr.repo` |
5050
| SLES | CU | `sudo zypper addrepo -fc https://packages.microsoft.com/config/sles/12/mssql-server-2017.repo` |
5151
| SLES | GDR | `sudo zypper addrepo -fc https://packages.microsoft.com/config/sles/12/mssql-server-2017-gdr.repo` |
52-
| Ubuntu | CU | `sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - && sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"` |
53-
| Ubuntu | GDR | `sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - && sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017-gdr.list)"` |
54-
55-
1. Update your system.
56-
57-
| Platform | Update command |
58-
|-----|-----|
59-
| RHEL | `sudo yum update` |
60-
| SLES | `sudo zypper --gpg-auto-import-keys refresh` |
61-
| Ubuntu | `sudo apt-get update` |
52+
| Ubuntu | CU | `sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - && sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)" \| sudo apt-get update` |
53+
| Ubuntu | GDR | `sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - && sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017-gdr.list)" \| sudo apt-get update` |
6254

6355
1. [Install](sql-server-linux-setup.md#platforms) or [update](sql-server-linux-setup.md#upgrade) SQL Server using the GA repository.
6456

docs/linux/sql-server-linux-setup-full-text-search.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Install SQL Server Full-Text Search for your platform:
3030
Use the following commands to install the **mssql-server-fts** on Red Hat Enterprise Linux.
3131

3232
```bash
33-
sudo yum update
3433
sudo yum install -y mssql-server-fts
3534
```
3635

docs/linux/sql-server-linux-setup-tools.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,12 @@ Use the following steps to install the **mssql-tools** on Red Hat Enterprise Lin
5454
1. If you had a previous version of **mssql-tools** installed, remove any older unixODBC packages.
5555

5656
```bash
57-
sudo yum update
5857
sudo yum remove unixODBC-utf16 unixODBC-utf16-devel
5958
```
6059

6160
1. Run the following commands to install **mssql-tools** with the unixODBC developer package.
6261

6362
```bash
64-
sudo yum update
6563
sudo yum install mssql-tools unixODBC-devel
6664
```
6765

docs/linux/sql-server-linux-setup.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,8 @@ To change from the GDR repository to the CU repository use the following steps:
122122
| RHEL | GDR | `sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017-gdr.repo` |
123123
| SLES | CU | `sudo zypper addrepo -fc https://packages.microsoft.com/config/sles/12/mssql-server-2017.repo` |
124124
| SLES | GDR | `sudo zypper addrepo -fc https://packages.microsoft.com/config/sles/12/mssql-server-2017-gdr.repo` |
125-
| Ubuntu | CU | `sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"` |
126-
| Ubuntu | GDR | `sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017-gdr.list)"` |
127-
128-
1. Update your system.
129-
130-
| Platform | Update command |
131-
|-----|-----|
132-
| RHEL | `sudo yum update` |
133-
| SLES | `sudo zypper --gpg-auto-import-keys refresh` |
134-
| Ubuntu | `sudo apt-get update` |
135-
125+
| Ubuntu | CU | `sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - && sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)" \| sudo apt-get update` |
126+
| Ubuntu | GDR | `sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - && sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017-gdr.list)" \| sudo apt-get update` |
136127

137128
1. [Install](#platforms) or [update](#upgrade) SQL Server from the new repository.
138129

0 commit comments

Comments
 (0)