How To Install libphp-magpierss on Debian 10
Introduction
In this tutorial we learn how to install libphp-magpierss
on Debian 10.
What is libphp-magpierss
libphp-magpierss is:
MagpieRSS is an XML-based RSS parser in PHP. It attempts to be “PHP-like”, and simple to use.
Some features include:
- supports RSS 0.9 - 1.0, with limited RSS 2.0 support
- supports namespaces, and modules, including mod_content and mod_event
- open minded
- simple, functional interface, to object oriented backend parser
- automatic caching of parsed RSS objects makes its easy to integrate
- supports conditional GET with Last-Modified, and ETag
- uses constants for easy override of default behaviour
- heavily commented
There are three methods to install libphp-magpierss
on Debian 10. 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-magpierss Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libphp-magpierss
using apt-get
by running the following command:
sudo apt-get -y install libphp-magpierss
Install libphp-magpierss Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libphp-magpierss
using apt
by running the following command:
sudo apt -y install libphp-magpierss
Install libphp-magpierss 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.
sudo aptitude update
After updating apt database, We can install libphp-magpierss
using aptitude
by running the following command:
sudo aptitude -y install libphp-magpierss
How To Uninstall libphp-magpierss on Debian 10
To uninstall only the libphp-magpierss
package we can use the following command:
sudo apt-get remove libphp-magpierss
Uninstall libphp-magpierss And Its Dependencies
To uninstall libphp-magpierss
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libphp-magpierss
Remove libphp-magpierss Configurations and Data
To remove libphp-magpierss
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libphp-magpierss
Remove libphp-magpierss configuration, data, and all of its dependencies
We can use the following command to remove libphp-magpierss
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libphp-magpierss
Dependencies
libphp-magpierss have the following dependencies:
References
Summary
In this tutorial we learn how to install libphp-magpierss
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.