How To Install php-finder-facade on Ubuntu 20.04

In this tutorial we learn how to install php-finder-facade on Ubuntu 20.04. php-finder-facade is convenience wrapper for Symfonys Finder component

Introduction

In this tutorial we learn how to install php-finder-facade on Ubuntu 20.04.

What is php-finder-facade

php-finder-facade is:

Finder provides an intuitive fluent interface to find files and directories on a filesystem.

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

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

sudo apt-get -y install php-finder-facade

Install php-finder-facade Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install php-finder-facade using apt by running the following command:

sudo apt -y install php-finder-facade

Install php-finder-facade 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-finder-facade using aptitude by running the following command:

sudo aptitude -y install php-finder-facade

How To Uninstall php-finder-facade on Ubuntu 20.04

To uninstall only the php-finder-facade package we can use the following command:

sudo apt-get remove php-finder-facade

Uninstall php-finder-facade And Its Dependencies

To uninstall php-finder-facade and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove php-finder-facade

Remove php-finder-facade Configurations and Data

To remove php-finder-facade configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge php-finder-facade

Remove php-finder-facade configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge php-finder-facade

References

Summary

In this tutorial we learn how to install php-finder-facade package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.