How To Install php-symfony-web-link on Debian 10

Learn how to install php-symfony-web-link on Debian 10 with this tutorial. php-symfony-web-link is manage links between resources

Introduction

In this tutorial we learn how to install php-symfony-web-link on Debian 10.

php-symfony-web-link is:

The Symfony WebLink Component manages links between resources. It is particularly useful to advise clients to preload and prefetch documents through HTTP and HTTP/2 pushes.

This component implements the HTML5’s Links, Preload and Resource Hints W3C’s specifications. It can also be used with extensions defined in the HTML5 link type extensions wiki.

Symfony is a PHP framework, a set of tools and a development methodology.

There are three methods to install php-symfony-web-link 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.

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

sudo apt-get update

After updating apt database, We can install php-symfony-web-link using apt-get by running the following command:

sudo apt-get -y install php-symfony-web-link

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install php-symfony-web-link using apt by running the following command:

sudo apt -y install php-symfony-web-link

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-symfony-web-link using aptitude by running the following command:

sudo aptitude -y install php-symfony-web-link

To uninstall only the php-symfony-web-link package we can use the following command:

sudo apt-get remove php-symfony-web-link

To uninstall php-symfony-web-link and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove php-symfony-web-link

To remove php-symfony-web-link configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge php-symfony-web-link

We can use the following command to remove php-symfony-web-link configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge php-symfony-web-link

Dependencies

php-symfony-web-link have the following dependencies:

References

Summary

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