php-http-request software package provides PEAR class to provide an easy way to perform HTTP requests, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install php-http-request
php-http-request is installed in your system.
Make ensure the php-http-request package were installed using the commands given below,
$ sudo dpkg-query -l | grep php-http-request *
You will get with php-http-request package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Web Software |
| Package | php-http-request |
| Version | 1.4.4-4 |
| Description | PEAR class to provide an easy way to perform HTTP requests |
| Sub Section | Web |