How to Install and Uninstall php-curl Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "php-curl" package

Please follow the guidance below to install php-curl on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-curl

2. Uninstall "php-curl" package

This tutorial shows how to uninstall php-curl on Debian 12 (Bookworm):

$ sudo apt remove php-curl $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-curl package on Debian 12 (Bookworm)

Package: php-curl
Source: php-defaults (94+0~20240205.51+debian12~1.gbp6faa2e)
Version: 2:8.3+94+0~20240205.51+debian12~1.gbp6faa2e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 10
Depends: php-common, php8.3-curl
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-curl_8.3+94+0~20240205.51+debian12~1.gbp6faa2e_all.deb
Size: 3868
SHA256: 97eaa385cb4c2b51e3db4eb5f42c9324754f566545c82fcf2c2683c6d119d9ae
SHA1: f8ab83388c697eb59b0d25230d8380aabe7e750e
MD5sum: ff4c09d8436253b91d142de3e5efb810
Description: CURL module for PHP [default]
This package provides a CURL module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.3).
Description-md5: bc90053a57555679517709029e0bf088

Package: php-curl
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php8.2-curl
Description: CURL module for PHP [default]
Description-md5: d8a1dd484cc7c6bfafac1343711bb5cc
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-curl_8.2+93_all.deb
Size: 3656
MD5sum: d7182b7aa894558617a992cad7bc5565
SHA256: 28335d6ee2b35a1982c63118f6fb40be44799c90434f9cc47a4a0348666dcc29