Zum Inhalt springen

DEB.SURY.ORG: Unterschied zwischen den Versionen

Aus Foxwiki
Zeile 4: Zeile 4:


== Installation ==
== Installation ==
<syntaxhighlight lang="bash" highlight="1" line copy>
#!/bin/sh
# To add this repository please do:


if [ "$(whoami)" != "root" ]; then
    SUDO=sudo
fi


${SUDO} apt-get update
${SUDO} apt-get -y install lsb-release ca-certificates curl
${SUDO} curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
${SUDO} dpkg -i /tmp/debsuryorg-archive-keyring.deb
${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'
${SUDO} apt-get update
</syntaxhighlight>


== Problembehebung ==
== Problembehebung ==

Version vom 1. Juni 2025, 08:16 Uhr

DEB.SURY.ORG - Packaging various software (like PHP) for Debian and Ubuntu

Beschreibung

Installation

#!/bin/sh
# To add this repository please do:

if [ "$(whoami)" != "root" ]; then
    SUDO=sudo
fi

${SUDO} apt-get update
${SUDO} apt-get -y install lsb-release ca-certificates curl
${SUDO} curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
${SUDO} dpkg -i /tmp/debsuryorg-archive-keyring.deb
${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'
${SUDO} apt-get update

Problembehebung

Konfiguration

Dateien

Datei Beschreibung


Anhang

Siehe auch



Dokumentation

  1. https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions
  2. https://github.com/oerdnj/deb.sury.org/wiki/How-to-downgrade-to-stock-packages
  3. https://github.com/oerdnj/deb.sury.org/wiki/Managing-Multiple-Versions

Links

Projekt

  1. https://sury.org/
  2. https://github.com/oerdnj/deb.sury.org

Weblinks

  1. https://www.cloudbooklet.com/developer/upgrade-php-version-to-php-7-4-on-ubuntu