How To Install libopengl-image-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libopengl-image-perl
on Ubuntu 20.04.
What is libopengl-image-perl
libopengl-image-perl is:
This module provides methods to load/modify/save images for use with OpenGL textures, FBOs and VBOs.
It also requires at least one supported OpenGL::Image imaging engine. At this time, the following drivers are supported:
- Targa - Pure Perl - uncompressed RGBA files (comes with OpenGL::Image).
- Magick - Requires PerlMagick (v6.3.5 or newer for best performance).
There are three methods to install libopengl-image-perl
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 libopengl-image-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libopengl-image-perl
using apt-get
by running the following command:
sudo apt-get -y install libopengl-image-perl
Install libopengl-image-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libopengl-image-perl
using apt
by running the following command:
sudo apt -y install libopengl-image-perl
Install libopengl-image-perl 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 libopengl-image-perl
using aptitude
by running the following command:
sudo aptitude -y install libopengl-image-perl
How To Uninstall libopengl-image-perl on Ubuntu 20.04
To uninstall only the libopengl-image-perl
package we can use the following command:
sudo apt-get remove libopengl-image-perl
Uninstall libopengl-image-perl And Its Dependencies
To uninstall libopengl-image-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libopengl-image-perl
Remove libopengl-image-perl Configurations and Data
To remove libopengl-image-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libopengl-image-perl
Remove libopengl-image-perl configuration, data, and all of its dependencies
We can use the following command to remove libopengl-image-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libopengl-image-perl
References
Summary
In this tutorial we learn how to install libopengl-image-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.