How To Install liblodepng0 on Debian 12
Introduction
In this tutorial we learn how to install liblodepng0 on Debian 12.
What is liblodepng0
liblodepng0 is:
PNG is a file format to store raster images losslessly with good compression, supporting different color types and alpha channel.
LodePNG is a PNG codec according to the Portable Network Graphics (PNG) Specification (Second Edition) - W3C Recommendation 10 November 2003.
The specifications used are:
*) Portable Network Graphics (PNG) Specification (Second Edition): http://www.w3.org/TR/2003/REC-PNG-20031110 *) RFC 1950 ZLIB Compressed Data Format version 3.3: http://www.gzip.org/zlib/rfc-zlib.html *) RFC 1951 DEFLATE Compressed Data Format Specification ver 1.3: http://www.gzip.org/zlib/rfc-deflate.html
LodePNG works both in C (ISO C90) and C++, with a C++ wrapper that adds extra functionality.
This package conatains the shared objects.
There are three methods to install liblodepng0 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install liblodepng0 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install liblodepng0 using apt-get by running the following command:
sudo apt-get -y install liblodepng0
Install liblodepng0 Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install liblodepng0 using apt by running the following command:
sudo apt -y install liblodepng0
Install liblodepng0 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install liblodepng0 using aptitude by running the following command:
sudo aptitude -y install liblodepng0
How To Uninstall liblodepng0 on Debian 12
To uninstall only the liblodepng0 package we can use the following command:
sudo apt-get remove liblodepng0
Uninstall liblodepng0 And Its Dependencies
To uninstall liblodepng0 and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove liblodepng0
Remove liblodepng0 Configurations and Data
To remove liblodepng0 configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge liblodepng0
Remove liblodepng0 configuration, data, and all of its dependencies
We can use the following command to remove liblodepng0 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblodepng0
Dependencies
liblodepng0 have the following dependencies:
References
Summary
In this tutorial we learn how to install liblodepng0 package on Debian 12 using different package management tools: apt, apt-get and aptitude.