How To Install imgvtopgm on Ubuntu 20.04
Introduction
In this tutorial we learn how to install imgvtopgm
on Ubuntu 20.04.
What is imgvtopgm
imgvtopgm is:
This program can convert, compress, and decompress up to 4-bit grayscale images for displaying on the PalmPilot. It can take any pbm, pnm, pgm file generated by the netpbm package and convert it into a suitable image for the Pilot.
Together with netpbm many image formats, including JPEG, PNG, GIF, TIFF and BMP, could be converted into PDB format. This can be displayed on PalmPilot/III by viewers like “ImageViewer”, “TinyViewer” or “Spec”.
There are three methods to install imgvtopgm
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 imgvtopgm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install imgvtopgm
using apt-get
by running the following command:
sudo apt-get -y install imgvtopgm
Install imgvtopgm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install imgvtopgm
using apt
by running the following command:
sudo apt -y install imgvtopgm
Install imgvtopgm 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 imgvtopgm
using aptitude
by running the following command:
sudo aptitude -y install imgvtopgm
How To Uninstall imgvtopgm on Ubuntu 20.04
To uninstall only the imgvtopgm
package we can use the following command:
sudo apt-get remove imgvtopgm
Uninstall imgvtopgm And Its Dependencies
To uninstall imgvtopgm
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove imgvtopgm
Remove imgvtopgm Configurations and Data
To remove imgvtopgm
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge imgvtopgm
Remove imgvtopgm configuration, data, and all of its dependencies
We can use the following command to remove imgvtopgm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge imgvtopgm
References
Summary
In this tutorial we learn how to install imgvtopgm
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.