Skip to content

Commit b17fd3c

Browse files
gdaffaderickr
authored andcommitted
docs(download): Change apt-get to apt for Debian installation
1 parent 8d48b21 commit b17fd3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
</p>
44
<pre><code class="language-bash line-numbers">
55
# Add the packages.sury.org/php repository.
6-
sudo apt-get update
7-
sudo apt-get install -y lsb-release ca-certificates curl
6+
sudo apt update
7+
sudo apt 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
1010
sudo tee /etc/apt/sources.list.d/php.sources &lt;&lt;EOF
@@ -14,8 +14,8 @@
1414
Components: main
1515
Signed-By: /usr/share/keyrings/debsuryorg-archive-keyring.gpg
1616
EOF
17-
sudo apt-get update
17+
sudo apt update
1818

1919
# Install PHP.
20-
sudo apt-get install -y php<?= $version; ?>
20+
sudo apt install -y php<?= $version; ?>
2121
</code></pre>

0 commit comments

Comments
 (0)