How To Install php-cache-tag-interop on Ubuntu 20.04
Introduction
In this tutorial we learn how to install php-cache-tag-interop
on Ubuntu 20.04.
What is php-cache-tag-interop
php-cache-tag-interop is:
This package contain two interfaces for tagging. These interfaces are intended to make their way into PHP Fig. Representatives from Symfony, PHP-cache and Drupal have worked together to agree on these interfaces.
There are three methods to install php-cache-tag-interop
on Ubuntu 20.04. 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-cache-tag-interop 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-cache-tag-interop
using apt-get
by running the following command:
sudo apt-get -y install php-cache-tag-interop
Install php-cache-tag-interop Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install php-cache-tag-interop
using apt
by running the following command:
sudo apt -y install php-cache-tag-interop
Install php-cache-tag-interop 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install php-cache-tag-interop
using aptitude
by running the following command:
sudo aptitude -y install php-cache-tag-interop
How To Uninstall php-cache-tag-interop on Ubuntu 20.04
To uninstall only the php-cache-tag-interop
package we can use the following command:
sudo apt-get remove php-cache-tag-interop
Uninstall php-cache-tag-interop And Its Dependencies
To uninstall php-cache-tag-interop
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove php-cache-tag-interop
Remove php-cache-tag-interop Configurations and Data
To remove php-cache-tag-interop
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge php-cache-tag-interop
Remove php-cache-tag-interop configuration, data, and all of its dependencies
We can use the following command to remove php-cache-tag-interop
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge php-cache-tag-interop
References
Summary
In this tutorial we learn how to install php-cache-tag-interop
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.