如何安装libpng
Ubuntu 19 以便能够打开 Packet Tracer 7.2.1?
答案1
如果您的问题仅仅是关于如何安装libpng16
,请打开终端并运行:
sudo apt install libpng16-16
这应该适用于 Ubuntu 19.04 (Disco) 和 19.10 (Eoan),因为两个版本都包含该libpng16-16
软件包存储库。
答案2
使用 Ubuntu 18.04 完成的步骤
搜索
libpng
包:apt-cache search libpng
得到这个结果:
libpng-dev - PNG library - development (version 1.6) libpng-tools - PNG library - tools (version 1.6) libpng16-16 - PNG library - runtime (version 1.6) fp-units-gfx - Free Pascal - graphics-library units dependency package fp-units-gfx-3.0.4 - Free Pascal - graphics-library units libpnglite0 - lightweight C library for loading and writing PNG images pngquant - Utilitaire d'optimisation d'images PNG (Portable Network Graphics) 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 libpnglite-dev - lightweight C library for loading and writing PNG images ruby-oily-png - native mixin to speed up ChunkyPNG tkpng - PNG photo image support to Tcl/Tk
安装足够的包:
sudo apt install libpng16-16
安装功能包(可选):
sudo apt install libpng-tools
libpng-tools
可能很有用,但我不认为必须安装它才能运行 Packet Tracer(但对于高级功能来说可能是必需的
注意:-cache
选项可让你轻松获得包名称