Skip to content

Commit 1dfe6a0

Browse files
authored
Update the Installation Instructions for Debian (#1838)
* docs(download): Remove `apt-transport-https` from Debian installation * docs(download): Update Debian source list to `deb822` format
1 parent aa6f6ea commit 1dfe6a0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

include/download-instructions/linux-debian-cli-community.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
<pre><code class="language-bash line-numbers">
55
# Add the packages.sury.org/php repository.
66
sudo apt-get update
7-
sudo apt-get install -y lsb-release ca-certificates apt-transport-https curl
7+
sudo apt-get install -y lsb-release ca-certificates curl
88
sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
99
sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
10-
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
10+
sudo tee /etc/apt/sources.list.d/php.sources &lt;&lt;EOF
11+
Types: deb
12+
URIs: https://packages.sury.org/php/
13+
Suites: $(lsb_release -sc)
14+
Components: main
15+
Signed-By: /usr/share/keyrings/debsuryorg-archive-keyring.gpg
16+
EOF
1117
sudo apt-get update
1218

1319
# Install PHP.

0 commit comments

Comments
 (0)