How To Install php-laravel-lumen-framework on Kali Linux

In this tutorial we learn how to install php-laravel-lumen-framework on Kali Linux. php-laravel-lumen-framework is micro-framework for building web applications in PHP

Introduction

In this tutorial we learn how to install php-laravel-lumen-framework on Kali Linux.

What is php-laravel-lumen-framework

php-laravel-lumen-framework is:

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

There are three methods to install php-laravel-lumen-framework on Kali Linux. 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-laravel-lumen-framework 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-laravel-lumen-framework using apt-get by running the following command:

sudo apt-get -y install php-laravel-lumen-framework

Install php-laravel-lumen-framework Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install php-laravel-lumen-framework using apt by running the following command:

sudo apt -y install php-laravel-lumen-framework

Install php-laravel-lumen-framework Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install php-laravel-lumen-framework using aptitude by running the following command:

sudo aptitude -y install php-laravel-lumen-framework

How To Uninstall php-laravel-lumen-framework on Kali Linux

To uninstall only the php-laravel-lumen-framework package we can use the following command:

sudo apt-get remove php-laravel-lumen-framework

Uninstall php-laravel-lumen-framework And Its Dependencies

To uninstall php-laravel-lumen-framework and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove php-laravel-lumen-framework

Remove php-laravel-lumen-framework Configurations and Data

To remove php-laravel-lumen-framework configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge php-laravel-lumen-framework

Remove php-laravel-lumen-framework configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge php-laravel-lumen-framework

Dependencies

php-laravel-lumen-framework have the following dependencies:

References

Summary

In this tutorial we learn how to install php-laravel-lumen-framework package on Kali Linux using different package management tools: apt, apt-get and aptitude.