Introduction
In this tutorial we learn how to install libafterimage-dev
on Ubuntu 20.04.
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 Ubuntu 20.04. 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 update
After updating apt database, We can install libafterimage-dev
using apt-get
by running the following command:
sudo apt-get -y install libafterimage-dev
Install libafterimage-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libafterimage-dev
using apt
by running the following command:
sudo apt -y install libafterimage-dev
Install libafterimage-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libafterimage-dev
using aptitude
by running the following command:
sudo aptitude -y install libafterimage-dev
How To Uninstall libafterimage-dev on Ubuntu 20.04
To uninstall only the libafterimage-dev
package we can use the following command:
sudo apt-get remove libafterimage-dev
Uninstall libafterimage-dev And Its Dependencies
To uninstall libafterimage-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libafterimage-dev
Remove libafterimage-dev Configurations and Data
To remove libafterimage-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libafterimage-dev
Remove 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-dev
References
Summary
In this tutorial we learn how to install libafterimage-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.