How To Install php-dflydev-fig-cookies on Debian 10

Learn how to install php-dflydev-fig-cookies on Debian 10 with this tutorial. php-dflydev-fig-cookies is FIG Cookies for PHP

Introduction

In this tutorial we learn how to install php-dflydev-fig-cookies on Debian 10.

What is php-dflydev-fig-cookies

php-dflydev-fig-cookies is:

Managing Cookies for PSR-7 Requests and Responses.

FIG Cookies tackles two problems, managing Cookie Request headers and managing Set-Cookie Response headers. It does this by way of introducing a Cookies class to manage collections of Cookie instances and a SetCookies class to manage collections of SetCookie instances.

There are three methods to install php-dflydev-fig-cookies 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 php-dflydev-fig-cookies Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install php-dflydev-fig-cookies using apt-get by running the following command:

sudo apt-get -y install php-dflydev-fig-cookies

Install php-dflydev-fig-cookies Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install php-dflydev-fig-cookies using apt by running the following command:

sudo apt -y install php-dflydev-fig-cookies

Install php-dflydev-fig-cookies 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 php-dflydev-fig-cookies using aptitude by running the following command:

sudo aptitude -y install php-dflydev-fig-cookies

How To Uninstall php-dflydev-fig-cookies on Debian 10

To uninstall only the php-dflydev-fig-cookies package we can use the following command:

sudo apt-get remove php-dflydev-fig-cookies

Uninstall php-dflydev-fig-cookies And Its Dependencies

To uninstall php-dflydev-fig-cookies and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove php-dflydev-fig-cookies

Remove php-dflydev-fig-cookies Configurations and Data

To remove php-dflydev-fig-cookies configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge php-dflydev-fig-cookies

Remove php-dflydev-fig-cookies configuration, data, and all of its dependencies

We can use the following command to remove php-dflydev-fig-cookies configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge php-dflydev-fig-cookies

Dependencies

php-dflydev-fig-cookies have the following dependencies:

References

Summary

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