How To Install libphp-snoopy on Debian 12
Introduction
In this tutorial we learn how to install libphp-snoopy
on Debian 12.
What is libphp-snoopy
libphp-snoopy is:
It automates the task of retrieving web page content and posting forms, for example.
Some of Snoopy’s features:
- easily fetch the contents of a web page
- easily fetch the text from a web page (strip html tags)
- easily fetch the links from a web page
- supports proxy hosts
- supports basic user/pass authentication
- supports setting user_agent, referer, cookies and header content
- supports browser redirects, and controlled depth of redirects
- expands fetched links to fully qualified URLs (default)
- easily submit form data and retrieve the results
- supports following html frames (added v0.92)
- supports passing cookies on redirects (added v0.92)
There are three methods to install libphp-snoopy
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libphp-snoopy Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libphp-snoopy
using apt-get
by running the following command:
Install libphp-snoopy Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libphp-snoopy
using apt
by running the following command:
Install libphp-snoopy Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
After updating apt database, We can install libphp-snoopy
using aptitude
by running the following command:
How To Uninstall libphp-snoopy on Debian 12
To uninstall only the libphp-snoopy
package we can use the following command:
Uninstall libphp-snoopy And Its Dependencies
To uninstall libphp-snoopy
and its dependencies that are no longer needed by Debian 12, we can use the command below:
Remove libphp-snoopy Configurations and Data
To remove libphp-snoopy
configuration and data from Debian 12 we can use the following command:
Remove libphp-snoopy configuration, data, and all of its dependencies
We can use the following command to remove libphp-snoopy
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libphp-snoopy have the following dependencies:
References
Summary
In this tutorial we learn how to install libphp-snoopy
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.