How To Install ruby-image-processing on Kali Linux
Introduction
In this tutorial we learn how to install ruby-image-processing
on Kali Linux.
What is ruby-image-processing
ruby-image-processing is:
This package provides higher-level image processing helpers that are commonly needed when handling image uploads.
These are available image processing libraries:
- ImageMagick
- GraphicsMagick
- libvips
There are three methods to install ruby-image-processing
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-image-processing Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ruby-image-processing
using apt-get
by running the following command:
sudo apt-get -y install ruby-image-processing
Install ruby-image-processing Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-image-processing
using apt
by running the following command:
sudo apt -y install ruby-image-processing
Install ruby-image-processing 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 ruby-image-processing
using aptitude
by running the following command:
sudo aptitude -y install ruby-image-processing
How To Uninstall ruby-image-processing on Kali Linux
To uninstall only the ruby-image-processing
package we can use the following command:
sudo apt-get remove ruby-image-processing
Uninstall ruby-image-processing And Its Dependencies
To uninstall ruby-image-processing
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-image-processing
Remove ruby-image-processing Configurations and Data
To remove ruby-image-processing
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-image-processing
Remove ruby-image-processing configuration, data, and all of its dependencies
We can use the following command to remove ruby-image-processing
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-image-processing
Dependencies
ruby-image-processing have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-image-processing
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.