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 updateAfter updating apt database, We can install ruby-oily-png using apt-get by running the following command:
sudo apt-get -y install ruby-oily-pngInstall ruby-oily-png Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-oily-png using apt by running the following command:
sudo apt -y install ruby-oily-pngInstall 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 updateAfter updating apt database, We can install ruby-oily-png using aptitude by running the following command:
sudo aptitude -y install ruby-oily-pngHow 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-pngUninstall 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-pngRemove 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-pngRemove 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-pngDependencies
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.