Skip to content

Commit 676bc8d

Browse files
shivammathurderickr
authored andcommitted
Revert to full Debian community instructions
1 parent 72926fc commit 676bc8d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
</p>
44
<pre><code class="language-bash line-numbers">
55
# Add the packages.sury.org/php repository.
6-
sudo apt update
7-
sudo apt install -y curl
8-
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x
6+
sudo apt-get update
7+
sudo apt-get install -y lsb-release ca-certificates apt-transport-https curl
8+
sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
9+
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'
11+
sudo apt-get update
912

1013
# Install PHP.
1114
sudo apt-get install -y php<?= $version; ?>

0 commit comments

Comments
 (0)