How To Install libphp-simplepie on Debian 10

Learn how to install libphp-simplepie on Debian 10 with this tutorial. libphp-simplepie is RSS and Atom feed parsing in PHP

Introduction

In this tutorial we learn how to install libphp-simplepie on Debian 10.

What is libphp-simplepie

libphp-simplepie is:

SimplePie is a very fast and easy-to-use class, written in PHP, that puts the ‘simple’ back into ‘really simple syndication

Simplepie is an easy to use API that handles all of the dirty work when it comes to fetching, caching, parsing, normalizing data structures between RSS and Atom formats, handling character encoding translation, and sanitizing the resulting data

There are three methods to install libphp-simplepie 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-simplepie 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-simplepie using apt-get by running the following command:

sudo apt-get -y install libphp-simplepie

Install libphp-simplepie Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libphp-simplepie using apt by running the following command:

sudo apt -y install libphp-simplepie

Install libphp-simplepie 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-simplepie using aptitude by running the following command:

sudo aptitude -y install libphp-simplepie

How To Uninstall libphp-simplepie on Debian 10

To uninstall only the libphp-simplepie package we can use the following command:

sudo apt-get remove libphp-simplepie

Uninstall libphp-simplepie And Its Dependencies

To uninstall libphp-simplepie and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libphp-simplepie

Remove libphp-simplepie Configurations and Data

To remove libphp-simplepie configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libphp-simplepie

Remove libphp-simplepie configuration, data, and all of its dependencies

We can use the following command to remove libphp-simplepie configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libphp-simplepie

Dependencies

libphp-simplepie have the following dependencies:

References

Summary

In this tutorial we learn how to install libphp-simplepie package on Debian 10 using different package management tools: apt, apt-get and aptitude.