How to Install and Uninstall php-curl Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 15,2024

1. Install "php-curl" package

Please follow the step by step instructions below to install php-curl on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-curl

2. Uninstall "php-curl" package

This tutorial shows how to uninstall php-curl on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-curl package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-curl
Source: php-defaults (94+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu20.04.1+deb.sury.org+2
Depends: php-common, php8.3-curl
Filename: pool/main/p/php-defaults/php-curl_8.3+94+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7340
MD5sum: 8c11a5665cc37c8fad0fd55b2a2ed112
SHA1: 9afc288001b1b6f12a2d50af3d60c1deadeed044
SHA256: 6535e65a98c7a4ad9fcc5cb6a12d797c487a62dae3d97ec690a68da30fcf324b
Description: CURL module for PHP [default]
Description-md5: bc90053a57555679517709029e0bf088

Package: php-curl
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php7.4-curl
Filename: pool/main/p/php-defaults/php-curl_7.4+75_all.deb
Size: 2000
MD5sum: bcd6745a16ba975e641625bf69de411a
SHA1: 0c904e6f35eb16ab686ac2b9a66c46b1452428ed
SHA256: ebfecaddf43ac67c70d3b1f235916a43c9638819c7215306805fafbb77fd53cb
Description: CURL module for PHP [default]
Description-md5: 8a0b537324d58c7476c9afd57f37d01b