How To Install php-symfony-web-server-bundle on Kali Linux
Introduction
In this tutorial we learn how to install php-symfony-web-server-bundle
on Kali Linux.
What is php-symfony-web-server-bundle
php-symfony-web-server-bundle is:
Symfony WebServerBundle provides commands for running applications using the PHP built-in web server. It simplifies local development setup, avoiding the configuration of a proper web server such as Apache or Nginx to run an application.
Symfony is a PHP framework, a set of tools and a development methodology.
There are three methods to install php-symfony-web-server-bundle
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-symfony-web-server-bundle 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-symfony-web-server-bundle
using apt-get
by running the following command:
sudo apt-get -y install php-symfony-web-server-bundle
Install php-symfony-web-server-bundle Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install php-symfony-web-server-bundle
using apt
by running the following command:
sudo apt -y install php-symfony-web-server-bundle
Install php-symfony-web-server-bundle 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-symfony-web-server-bundle
using aptitude
by running the following command:
sudo aptitude -y install php-symfony-web-server-bundle
How To Uninstall php-symfony-web-server-bundle on Kali Linux
To uninstall only the php-symfony-web-server-bundle
package we can use the following command:
sudo apt-get remove php-symfony-web-server-bundle
Uninstall php-symfony-web-server-bundle And Its Dependencies
To uninstall php-symfony-web-server-bundle
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove php-symfony-web-server-bundle
Remove php-symfony-web-server-bundle Configurations and Data
To remove php-symfony-web-server-bundle
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge php-symfony-web-server-bundle
Remove php-symfony-web-server-bundle configuration, data, and all of its dependencies
We can use the following command to remove php-symfony-web-server-bundle
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge php-symfony-web-server-bundle
Dependencies
php-symfony-web-server-bundle have the following dependencies:
- php-common
- php-symfony-config
- php-symfony-console
- php-symfony-dependency-injection
- php-symfony-http-kernel
- php-symfony-process
References
Summary
In this tutorial we learn how to install php-symfony-web-server-bundle
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.