Skip to content

Instantly share code, notes, and snippets.

@satriahrh
Last active October 30, 2020 14:01
Show Gist options
  • Save satriahrh/32647b296540a686ea3cd083908195ff to your computer and use it in GitHub Desktop.
Save satriahrh/32647b296540a686ea3cd083908195ff to your computer and use it in GitHub Desktop.

PNG++ Installation on Ubuntu 16.04

Full documentation --> https://www.nongnu.org/pngpp/doc/0.2.9/

Requirements

The libpng it self, in Ubuntu 16.04 you can follow sudo apt install libpng12-dev.

The Steps

  1. Grab the lattest file here aka 0.2.9
  2. Go to download directory.
  3. Extract to /usr/src with sudo tar -zxf png++-0.2.9.tar.gz -C /usr/src
  4. Change directory to cd /usr/src/png++-0.2.9/
  5. Do make to make sure everything is fine.
  6. Try to do make test to really make sure once more.
  7. Finally sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment