How To Install libafterimage-dev on Kali Linux
Introduction
In this tutorial we learn how to install libafterimage-dev on Kali Linux.
What is libafterimage-dev
libafterimage-dev is:
libAfterImage is the imaging library implemented for AfterStep X Window Manager. It has been generalized to be suitable for any application in need of robust graphics engine.
It provides facilities for loading images from files of different formats, compressed in memory storage of images, scaling, tinting/shading, flipping and superimposition of arbitrary number of images over each other. In addition it allows for linear gradients drawing, and antialiased/smoothed text drawing using both FreeType library and X Window fonts.
This package contains the header files and static library needed to compile applications that use libAfterImage.
There are three methods to install libafterimage-dev 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 libafterimage-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libafterimage-dev using apt-get by running the following command:
sudo apt-get -y install libafterimage-devInstall libafterimage-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libafterimage-dev using apt by running the following command:
sudo apt -y install libafterimage-devInstall libafterimage-dev 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 libafterimage-dev using aptitude by running the following command:
sudo aptitude -y install libafterimage-devHow To Uninstall libafterimage-dev on Kali Linux
To uninstall only the libafterimage-dev package we can use the following command:
sudo apt-get remove libafterimage-devUninstall libafterimage-dev And Its Dependencies
To uninstall libafterimage-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libafterimage-devRemove libafterimage-dev Configurations and Data
To remove libafterimage-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libafterimage-devRemove libafterimage-dev configuration, data, and all of its dependencies
We can use the following command to remove libafterimage-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libafterimage-devDependencies
libafterimage-dev have the following dependencies:
- freeglut3-dev
- libafterimage0
- libc6-dev
- libfreetype6-dev
- libice-dev
- libjpeg-dev
- libpng-dev
- librsvg2-dev
- libsm-dev
- libtiff5-dev
- libxext-dev
- libxinerama-dev
- zlib1g-dev
References
Summary
In this tutorial we learn how to install libafterimage-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.