Skip to content

Commit 6e9da53

Browse files
authored
Merge pull request #35083 from akankshakumari393/patch-3
Omit `apt-transport-https` from install
2 parents 8986712 + 31cde47 commit 6e9da53

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

content/en/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,19 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
110110

111111
```shell
112112
sudo apt-get update
113-
sudo apt-get install -y apt-transport-https ca-certificates curl
113+
sudo apt-get install -y ca-certificates curl
114114
```
115-
115+
116+
{{< note >}}
117+
118+
If you use Debian 9 (stretch) or earlier you would also need to install `apt-transport-https`:
119+
120+
```shell
121+
sudo apt-get install -y apt-transport-https
122+
```
123+
124+
{{< /note >}}
125+
116126
2. Download the Google Cloud public signing key:
117127

118128
```shell

0 commit comments

Comments
 (0)