How To Install ruby-derailed-benchmarks on Kali Linux
Introduction
In this tutorial we learn how to install ruby-derailed-benchmarks on Kali Linux.
What is ruby-derailed-benchmarks
ruby-derailed-benchmarks is:
A series of things you can use to benchmark a Rails or Ruby app.
There are two ways to benchmark an app. Derailed can either try to boot your web app and run requests against it while benchmarking, or it can statically give you more information about the dependencies that are in your Gemfile. Booting your app will always be more accurate, but if you cannot get your app to run in production locally, you’ll still find the static information useful.
There are three methods to install ruby-derailed-benchmarks 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 ruby-derailed-benchmarks Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-derailed-benchmarks using apt-get by running the following command:
sudo apt-get -y install ruby-derailed-benchmarksInstall ruby-derailed-benchmarks Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-derailed-benchmarks using apt by running the following command:
sudo apt -y install ruby-derailed-benchmarksInstall ruby-derailed-benchmarks 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 updateAfter updating apt database, We can install ruby-derailed-benchmarks using aptitude by running the following command:
sudo aptitude -y install ruby-derailed-benchmarksHow To Uninstall ruby-derailed-benchmarks on Kali Linux
To uninstall only the ruby-derailed-benchmarks package we can use the following command:
sudo apt-get remove ruby-derailed-benchmarksUninstall ruby-derailed-benchmarks And Its Dependencies
To uninstall ruby-derailed-benchmarks and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-derailed-benchmarksRemove ruby-derailed-benchmarks Configurations and Data
To remove ruby-derailed-benchmarks configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-derailed-benchmarksRemove ruby-derailed-benchmarks configuration, data, and all of its dependencies
We can use the following command to remove ruby-derailed-benchmarks configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-derailed-benchmarksDependencies
ruby-derailed-benchmarks have the following dependencies:
- ruby
- ruby-heapy
- ruby-memory-profiler
- ruby-get-process-mem
- ruby-benchmark-ips
- ruby-rack
- rake
- rake
- ruby-thor
- ruby-thor
- ruby-statistics
- ruby-unicode-plot
- ruby-unicode-plot
- ruby-mini-histogram
References
Summary
In this tutorial we learn how to install ruby-derailed-benchmarks package on Kali Linux using different package management tools: apt, apt-get and aptitude.