Last active
June 21, 2026 03:15
-
-
Save osbre/9686d02499de6084bfbbf7f64da9b551 to your computer and use it in GitHub Desktop.
Debian 13 install scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -fsSL https://deb.nodesource.com/setup_24.x | sudo bash - | |
| sudo apt install -y nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update | |
| sudo apt install -y curl ca-certificates | |
| sudo curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg | |
| sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ trixie main" > /etc/apt/sources.list.d/php.list' | |
| sudo apt update | |
| sudo apt install -y \ | |
| php8.5-cli \ | |
| php8.5-common \ | |
| php8.5-curl \ | |
| php8.5-mbstring \ | |
| php8.5-xml \ | |
| php8.5-bcmath \ | |
| php8.5-intl \ | |
| php8.5-zip \ | |
| php8.5-gd \ | |
| php8.5-imagick \ | |
| php8.5-pgsql \ | |
| php8.5-redis \ | |
| php8.5-swoole \ | |
| php8.5-apcu \ | |
| php8.5-readline \ | |
| php8.5-igbinary \ | |
| php8.5-exif \ | |
| php8.5-xsl | |
| php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php -r "if (hash_file('sha384', 'composer-setup.php') === 'c8b085408188070d5f52bcfe4ecfbee5f727afa458b2573b8eaaf77b3419b0bf2768dc67c86944da1544f06fa544fd47') { echo 'Installer verified'.PHP_EOL; } else { echo 'Installer corrupt'.PHP_EOL; unlink('composer-setup.php'); exit(1); }" | |
| php composer-setup.php | |
| php -r "unlink('composer-setup.php');" | |
| sudo mv composer.phar /usr/local/bin/composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment