How To Install ruby-oily-png on Kali Linux
Introduction
In this tutorial we learn how to install ruby-oily-png
on Kali Linux.
What is ruby-oily-png
ruby-oily-png is:
OilyPNG is a Ruby C extension to speed up the pure Ruby ChunkyPNG library. It is a standalone module, so it does not require LibPNG, ImageMagick or any other library. Currently it has an alternative implementation of decoding and encoding PNGs, making these operations much faster, especially for PNG images that apply filtering.
There are three methods to install ruby-oily-png
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-oily-png 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-oily-png
using apt-get
by running the following command:
sudo apt-get -y install ruby-oily-png
Install ruby-oily-png Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-oily-png
using apt
by running the following command:
sudo apt -y install ruby-oily-png
Install ruby-oily-png 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-oily-png
using aptitude
by running the following command:
sudo aptitude -y install ruby-oily-png
How To Uninstall ruby-oily-png on Kali Linux
To uninstall only the ruby-oily-png
package we can use the following command:
sudo apt-get remove ruby-oily-png
Uninstall ruby-oily-png And Its Dependencies
To uninstall ruby-oily-png
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-oily-png
Remove ruby-oily-png Configurations and Data
To remove ruby-oily-png
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-oily-png
Remove ruby-oily-png configuration, data, and all of its dependencies
We can use the following command to remove ruby-oily-png
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-oily-png
Dependencies
ruby-oily-png have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-oily-png
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.