Executar:
sudo apt-cache search libpng*
exemplo de saída:
libpng12-0 - PNG library - runtime
libpng12-dev - PNG library - development
fp-units-gfx - Free Pascal - graphics-library units dependency package
fp-units-gfx-3.0.0 - Free Pascal - graphics-library units
libpnetcdf-dev - Development files for the parallel netCDF library
libpnetcdf0d - Libraryfor reading and writing parallel NetCDF files
libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library
libpng-sixlegs-java - Sixlegs Java PNG Decoder
libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder
libpng16-16 - PNG library - runtime (version 1.6)
libpng16-dev - PNG library - development (version 1.6)
libpng16-devtools - PNG library - tools (version 1.6)
libpng16-tools - PNG library - tools (version 1.6)
libpng3 - PNG library - runtime
libpnglite-dev - lightweight C library for loading and writing PNG images
pngquant - PNG (Portable Network Graphics) image optimising utility
ruby-oily-png - native mixin to speed up ChunkyPNG
tkpng - PNG photo image support to Tcl/Tk
Em seguida, execute:
sudo apt install libpng12-dev
sudo apt install libpng++-dev
Editar
As últimas libpng
podem ser baixadas aqui: libpng-1.6.26.tar.xz
, install da seguinte forma:
tar xvf libpng-1.6.26.tar.xz
cd libpng-1.6.26
./configure
make check
make install
Você pode executar ./configure --prefix=/path
, path
= o caminho para o diretório
onde você deseja instalar o binário