Package 'libpng12-0' has no installation candidate Ubuntu 18.0.4
12,433
... trying to install WPS office and it depends on libpng12-0
You can use the Ubuntu 16.04 package http://se.archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
Download, and install ...
sudo gdebi Downloads/libpng12-0_1.2.54-1ubuntu1_amd64.deb
Related videos on Youtube
Author by
mrefizzy
Updated on June 04, 2022Comments
-
mrefizzy almost 2 years
I'm trying to install WPS office and it depends on libpng12-0 which I can't install due to "Package 'libpng12-0' has no installation candidate ". I'm running Ubuntu 18.0.4 LTS.
-
Knud Larsen about 6 yearsYou can use the Ubuntu 16.04 package, I guess se.archive.ubuntu.com/ubuntu/pool/main/libp/libpng/… ... I used an old Debian package archive.debian.org/debian-archive/debian/pool/main/libp/libpng/… ... ( I don't remember why.) Install :
sudo gdebi Downloads/libpng12*
-
mrefizzy almost 6 yearsIt fixed the issue. Thanks.
-
Subho almost 6 yearsI did not get any version of libpng12-0 under bionic packages but it is available under xenial packages. Just download it from the below link and install the file, it will solve your problem. packages.ubuntu.com/xenial/amd64/libpng12-0/download Choose any of the mirrors from the above link and it will start downloading. It is a .deb file so just double-clicking it will start installing process.
-
Abdul Hameed over 3 yearsTry these below commands: Hope you will get success. "sudo add-apt-repository ppa:linuxuprising/libpng12" "sudo apt update" "sudo apt install libpng12-0"
-