How to Install and Uninstall php-curl Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 15,2024

1. Install "php-curl" package

This is a short guide on how to install php-curl on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-curl

2. Uninstall "php-curl" package

Please follow the step by step instructions below to uninstall php-curl on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-curl package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-curl
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-curl
Filename: pool/main/p/php-defaults/php-curl_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7284
MD5sum: d11dd30462f41ff631485b0207cffba0
SHA1: f8cb98f0be46720fc87aa64fd16aaee4e2c79185
SHA256: cadc688cc72fbfd2799469e13f15e9a19e00a083158ac1234add2d6d2bb58a39
Description: CURL module for PHP [default]
Description-md5: f8b67bbf637d1388b5e5b674ae9a7109

Package: php-curl
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-curl
Filename: pool/main/p/php-defaults/php-curl_7.2+60ubuntu1_all.deb
Size: 1996
MD5sum: 1368d69e201b7a2ab8b67b91fa0bfe23
SHA1: 760c741d8b09b0500ec0d34f3d1dc61201cd94ec
SHA256: 799a08d8be5c0d15469c4b7698e560e7d9ed06cb6387559f8b82004a64dc02c8
Description: CURL module for PHP [default]
Description-md5: 8ab5b2f6b0eb3192a292656773062ec4
Supported: 5y