How To Install libpng-devel on Fedora 36

In this tutorial we learn how to install libpng-devel in Fedora 36. libpng-devel is Development tools for programs to manipulate PNG image format files

Introduction

In this tutorial we learn how to install libpng-devel on Fedora 36.

What is libpng-devel

The libpng-devel package contains header files and documentation necessary for developing programs using the PNG (Portable Network Graphics) library. If you want to develop programs which will manipulate PNG image format files, you should install libpng-devel. You’ll also need to install the libpng package.

We can use yum or dnf to install libpng-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpng-devel.

Install libpng-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libpng-devel using dnf by running the following command:

sudo dnf -y install libpng-devel

Install libpng-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpng-devel using yum by running the following command:

sudo yum -y install libpng-devel

How To Uninstall libpng-devel on Fedora 36

To uninstall only the libpng-devel package we can use the following command:

sudo dnf remove libpng-devel

libpng-devel Package Contents on Fedora 36

/usr/bin/libpng-config
/usr/bin/libpng16-config
/usr/bin/png-fix-itxt
/usr/bin/pngfix
/usr/include/libpng16
/usr/include/libpng16/png.h
/usr/include/libpng16/pngconf.h
/usr/include/libpng16/pnglibconf.h
/usr/include/png.h
/usr/include/pngconf.h
/usr/include/pnglibconf.h
/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/3cd3eadd2aa6707ef79f606add99153bc57308
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/1bc0069d991d14ea2a98db8affcb6fa55b88bc
/usr/lib/libpng.so
/usr/lib/libpng16.so
/usr/lib/pkgconfig/libpng.pc
/usr/lib/pkgconfig/libpng16.pc
/usr/share/doc/libpng-devel
/usr/share/doc/libpng-devel/CHANGES
/usr/share/doc/libpng-devel/TODO
/usr/share/doc/libpng-devel/example.c
/usr/share/doc/libpng-devel/libpng-manual.txt
/usr/share/man/man3/libpng.3.gz
/usr/share/man/man3/libpngpf.3.gz

References

Summary

In this tutorial we learn how to install libpng-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libpng-devel on Fedora 36” linkTitle: “libpng-devel” type: “docs” description: “In this tutorial we learn how to install libpng-devel in Fedora 36. libpng-devel is Development tools for programs to manipulate PNG image format files” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libpng-devel-featured.png

Introduction

In this tutorial we learn how to install libpng-devel on Fedora 36.

What is libpng-devel

The libpng-devel package contains header files and documentation necessary for developing programs using the PNG (Portable Network Graphics) library. If you want to develop programs which will manipulate PNG image format files, you should install libpng-devel. You’ll also need to install the libpng package.

We can use yum or dnf to install libpng-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpng-devel.

Install libpng-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libpng-devel using dnf by running the following command:

sudo dnf -y install libpng-devel

Install libpng-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpng-devel using yum by running the following command:

sudo yum -y install libpng-devel

How To Uninstall libpng-devel on Fedora 36

To uninstall only the libpng-devel package we can use the following command:

sudo dnf remove libpng-devel

libpng-devel Package Contents on Fedora 36

/usr/bin/libpng-config
/usr/bin/libpng16-config
/usr/bin/png-fix-itxt
/usr/bin/pngfix
/usr/include/libpng16
/usr/include/libpng16/png.h
/usr/include/libpng16/pngconf.h
/usr/include/libpng16/pnglibconf.h
/usr/include/png.h
/usr/include/pngconf.h
/usr/include/pnglibconf.h
/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/170a09c2c8f74a3e7c4331d37e351a2e5cbd4e
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/173a878487eaa0c0db60482c666f686ce138e6
/usr/lib64/libpng.so
/usr/lib64/libpng16.so
/usr/lib64/pkgconfig/libpng.pc
/usr/lib64/pkgconfig/libpng16.pc
/usr/share/doc/libpng-devel
/usr/share/doc/libpng-devel/CHANGES
/usr/share/doc/libpng-devel/TODO
/usr/share/doc/libpng-devel/example.c
/usr/share/doc/libpng-devel/libpng-manual.txt
/usr/share/man/man3/libpng.3.gz
/usr/share/man/man3/libpngpf.3.gz

References

Summary

In this tutorial we learn how to install libpng-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).