How To Install gatling on Debian 9
Introduction
In this tutorial we learn how to install gatling on Debian 9.
What is gatling
gatling is:
Features: * Small (125k Linux-x86 binary with HTTP, FTP and SMB support) * Fast (measure for yourself, please) * Scalable * Uses platform-specific performance and scalability APIs * connection keep-alive * IPv6 support * transparent content negotiation * With optional directory index generation * Will only serve world readable files * Supports FTP and FTP upload as well * CGI support for HTTP, also SCGI and FastCGI (over IP sockets) * .htaccess support * Can detect some common mime types itself, like file(1) * Read-only SMB support
There are three methods to install gatling on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install gatling Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install gatling using apt-get by running the following command:
sudo apt-get -y install gatling
Install gatling Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install gatling using apt by running the following command:
sudo apt -y install gatling
Install gatling 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install gatling using aptitude by running the following command:
sudo aptitude -y install gatling
How To Uninstall gatling on Debian 9
To uninstall only the gatling package we can use the following command:
sudo apt-get remove gatling
Uninstall gatling And Its Dependencies
To uninstall gatling and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove gatling
Remove gatling Configurations and Data
To remove gatling configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge gatling
Remove gatling configuration, data, and all of its dependencies
We can use the following command to remove gatling configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gatling
Dependencies
gatling have the following dependencies:
References
Summary
In this tutorial we learn how to install gatling package on Debian 9 using different package management tools: apt, apt-get and aptitude.