How To Install libgphoto2-devel on Fedora 36

In this tutorial we learn how to install libgphoto2-devel in Fedora 36. libgphoto2-devel is Headers and links to compile against the libgphoto2 library

Introduction

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

What is libgphoto2-devel

libgphoto2 is a library that can be used by applications to access various digital cameras. libgphoto2 itself is not a GUI application, opposed to gphoto. There are GUI frontends for the gphoto2 library, however, such as gtkam for example. This package contains files needed to compile applications that use libgphoto2.

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

Install libgphoto2-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 libgphoto2-devel using dnf by running the following command:

sudo dnf -y install libgphoto2-devel

Install libgphoto2-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 libgphoto2-devel using yum by running the following command:

sudo yum -y install libgphoto2-devel

How To Uninstall libgphoto2-devel on Fedora 36

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

sudo dnf remove libgphoto2-devel

libgphoto2-devel Package Contents on Fedora 36

/usr/bin/gphoto2-config
/usr/bin/gphoto2-port-config
/usr/include/gphoto2
/usr/include/gphoto2/gphoto2-abilities-list.h
/usr/include/gphoto2/gphoto2-camera.h
/usr/include/gphoto2/gphoto2-context.h
/usr/include/gphoto2/gphoto2-file.h
/usr/include/gphoto2/gphoto2-filesys.h
/usr/include/gphoto2/gphoto2-library.h
/usr/include/gphoto2/gphoto2-list.h
/usr/include/gphoto2/gphoto2-port-info-list.h
/usr/include/gphoto2/gphoto2-port-log.h
/usr/include/gphoto2/gphoto2-port-portability.h
/usr/include/gphoto2/gphoto2-port-result.h
/usr/include/gphoto2/gphoto2-port-version.h
/usr/include/gphoto2/gphoto2-port.h
/usr/include/gphoto2/gphoto2-result.h
/usr/include/gphoto2/gphoto2-setting.h
/usr/include/gphoto2/gphoto2-version.h
/usr/include/gphoto2/gphoto2-widget.h
/usr/include/gphoto2/gphoto2.h
/usr/lib/libgphoto2.so
/usr/lib/libgphoto2_port.so
/usr/lib/pkgconfig/libgphoto2.pc
/usr/lib/pkgconfig/libgphoto2_port.pc
/usr/share/doc/libgphoto2-devel
/usr/share/doc/libgphoto2-devel/ABOUT-NLS
/usr/share/doc/libgphoto2-devel/AUTHORS
/usr/share/doc/libgphoto2-devel/COPYING
/usr/share/doc/libgphoto2-devel/ChangeLog
/usr/share/doc/libgphoto2-devel/NEWS
/usr/share/doc/libgphoto2-devel/README.md
/usr/share/doc/libgphoto2-devel/README.packaging
/usr/share/doc/libgphoto2-devel/RELEASE-HOWTO.md
/usr/share/doc/libgphoto2-devel/camlibs
/usr/share/doc/libgphoto2-devel/camlibs/ChangeLog
/usr/share/doc/libgphoto2-devel/camlibs/README.9050
/usr/share/doc/libgphoto2-devel/camlibs/README.9051
/usr/share/doc/libgphoto2-devel/camlibs/README.9052
/usr/share/doc/libgphoto2-devel/camlibs/README.905C
/usr/share/doc/libgphoto2-devel/camlibs/README.913C
/usr/share/doc/libgphoto2-devel/camlibs/README.913D
/usr/share/doc/libgphoto2-devel/camlibs/README.adc65
/usr/share/doc/libgphoto2-devel/camlibs/README.agfa-cl20
/usr/share/doc/libgphoto2-devel/camlibs/README.aox
/usr/share/doc/libgphoto2-devel/camlibs/README.ax203
/usr/share/doc/libgphoto2-devel/camlibs/README.ax203-compression
/usr/share/doc/libgphoto2-devel/camlibs/README.canon
/usr/share/doc/libgphoto2-devel/camlibs/README.clicksmart310
/usr/share/doc/libgphoto2-devel/camlibs/README.enigma13
/usr/share/doc/libgphoto2-devel/camlibs/README.gsmart300
/usr/share/doc/libgphoto2-devel/camlibs/README.iclick
/usr/share/doc/libgphoto2-devel/camlibs/README.jamcam
/usr/share/doc/libgphoto2-devel/camlibs/README.jl2005a
/usr/share/doc/libgphoto2-devel/camlibs/README.jl2005bcd-compression
/usr/share/doc/libgphoto2-devel/camlibs/README.jl2005c
/usr/share/doc/libgphoto2-devel/camlibs/README.konica
/usr/share/doc/libgphoto2-devel/camlibs/README.largan-lmini
/usr/share/doc/libgphoto2-devel/camlibs/README.lg_gsm
/usr/share/doc/libgphoto2-devel/camlibs/README.mars
/usr/share/doc/libgphoto2-devel/camlibs/README.minolta-dimagev
/usr/share/doc/libgphoto2-devel/camlibs/README.mustek
/usr/share/doc/libgphoto2-devel/camlibs/README.panasonic
/usr/share/doc/libgphoto2-devel/camlibs/README.panasonic-coolshot
/usr/share/doc/libgphoto2-devel/camlibs/README.panasonic-l859
/usr/share/doc/libgphoto2-devel/camlibs/README.pccam300
/usr/share/doc/libgphoto2-devel/camlibs/README.pccam600
/usr/share/doc/libgphoto2-devel/camlibs/README.pentax
/usr/share/doc/libgphoto2-devel/camlibs/README.ptp2
/usr/share/doc/libgphoto2-devel/camlibs/README.smal
/usr/share/doc/libgphoto2-devel/camlibs/README.sonix
/usr/share/doc/libgphoto2-devel/camlibs/README.sonydscf1
/usr/share/doc/libgphoto2-devel/camlibs/README.soundvision
/usr/share/doc/libgphoto2-devel/camlibs/README.spca50x
/usr/share/doc/libgphoto2-devel/camlibs/README.sq905
/usr/share/doc/libgphoto2-devel/camlibs/README.st2205
/usr/share/doc/libgphoto2-devel/camlibs/README.st2205-compression
/usr/share/doc/libgphoto2-devel/camlibs/README.toshiba-pdrm11
/usr/share/doc/libgphoto2-devel/camlibs/README.tp6801
/usr/share/man/man3/libgphoto2.3.gz
/usr/share/man/man3/libgphoto2_port.3.gz

References

Summary

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


title: “How To Install libgphoto2-devel on Fedora 36” linkTitle: “libgphoto2-devel” type: “docs” description: “In this tutorial we learn how to install libgphoto2-devel in Fedora 36. libgphoto2-devel is Headers and links to compile against the libgphoto2 library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libgphoto2-devel-featured.png

Introduction

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

What is libgphoto2-devel

libgphoto2 is a library that can be used by applications to access various digital cameras. libgphoto2 itself is not a GUI application, opposed to gphoto. There are GUI frontends for the gphoto2 library, however, such as gtkam for example. This package contains files needed to compile applications that use libgphoto2.

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

Install libgphoto2-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 libgphoto2-devel using dnf by running the following command:

sudo dnf -y install libgphoto2-devel

Install libgphoto2-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 libgphoto2-devel using yum by running the following command:

sudo yum -y install libgphoto2-devel

How To Uninstall libgphoto2-devel on Fedora 36

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

sudo dnf remove libgphoto2-devel

libgphoto2-devel Package Contents on Fedora 36

/usr/bin/gphoto2-config
/usr/bin/gphoto2-port-config
/usr/include/gphoto2
/usr/include/gphoto2/gphoto2-abilities-list.h
/usr/include/gphoto2/gphoto2-camera.h
/usr/include/gphoto2/gphoto2-context.h
/usr/include/gphoto2/gphoto2-file.h
/usr/include/gphoto2/gphoto2-filesys.h
/usr/include/gphoto2/gphoto2-library.h
/usr/include/gphoto2/gphoto2-list.h
/usr/include/gphoto2/gphoto2-port-info-list.h
/usr/include/gphoto2/gphoto2-port-log.h
/usr/include/gphoto2/gphoto2-port-portability.h
/usr/include/gphoto2/gphoto2-port-result.h
/usr/include/gphoto2/gphoto2-port-version.h
/usr/include/gphoto2/gphoto2-port.h
/usr/include/gphoto2/gphoto2-result.h
/usr/include/gphoto2/gphoto2-setting.h
/usr/include/gphoto2/gphoto2-version.h
/usr/include/gphoto2/gphoto2-widget.h
/usr/include/gphoto2/gphoto2.h
/usr/lib64/libgphoto2.so
/usr/lib64/libgphoto2_port.so
/usr/lib64/pkgconfig/libgphoto2.pc
/usr/lib64/pkgconfig/libgphoto2_port.pc
/usr/share/doc/libgphoto2-devel
/usr/share/doc/libgphoto2-devel/ABOUT-NLS
/usr/share/doc/libgphoto2-devel/AUTHORS
/usr/share/doc/libgphoto2-devel/COPYING
/usr/share/doc/libgphoto2-devel/ChangeLog
/usr/share/doc/libgphoto2-devel/NEWS
/usr/share/doc/libgphoto2-devel/README.md
/usr/share/doc/libgphoto2-devel/README.packaging
/usr/share/doc/libgphoto2-devel/RELEASE-HOWTO.md
/usr/share/doc/libgphoto2-devel/camlibs
/usr/share/doc/libgphoto2-devel/camlibs/ChangeLog
/usr/share/doc/libgphoto2-devel/camlibs/README.9050
/usr/share/doc/libgphoto2-devel/camlibs/README.9051
/usr/share/doc/libgphoto2-devel/camlibs/README.9052
/usr/share/doc/libgphoto2-devel/camlibs/README.905C
/usr/share/doc/libgphoto2-devel/camlibs/README.913C
/usr/share/doc/libgphoto2-devel/camlibs/README.913D
/usr/share/doc/libgphoto2-devel/camlibs/README.adc65
/usr/share/doc/libgphoto2-devel/camlibs/README.agfa-cl20
/usr/share/doc/libgphoto2-devel/camlibs/README.aox
/usr/share/doc/libgphoto2-devel/camlibs/README.ax203
/usr/share/doc/libgphoto2-devel/camlibs/README.ax203-compression
/usr/share/doc/libgphoto2-devel/camlibs/README.canon
/usr/share/doc/libgphoto2-devel/camlibs/README.clicksmart310
/usr/share/doc/libgphoto2-devel/camlibs/README.enigma13
/usr/share/doc/libgphoto2-devel/camlibs/README.gsmart300
/usr/share/doc/libgphoto2-devel/camlibs/README.iclick
/usr/share/doc/libgphoto2-devel/camlibs/README.jamcam
/usr/share/doc/libgphoto2-devel/camlibs/README.jl2005a
/usr/share/doc/libgphoto2-devel/camlibs/README.jl2005bcd-compression
/usr/share/doc/libgphoto2-devel/camlibs/README.jl2005c
/usr/share/doc/libgphoto2-devel/camlibs/README.konica
/usr/share/doc/libgphoto2-devel/camlibs/README.largan-lmini
/usr/share/doc/libgphoto2-devel/camlibs/README.lg_gsm
/usr/share/doc/libgphoto2-devel/camlibs/README.mars
/usr/share/doc/libgphoto2-devel/camlibs/README.minolta-dimagev
/usr/share/doc/libgphoto2-devel/camlibs/README.mustek
/usr/share/doc/libgphoto2-devel/camlibs/README.panasonic
/usr/share/doc/libgphoto2-devel/camlibs/README.panasonic-coolshot
/usr/share/doc/libgphoto2-devel/camlibs/README.panasonic-l859
/usr/share/doc/libgphoto2-devel/camlibs/README.pccam300
/usr/share/doc/libgphoto2-devel/camlibs/README.pccam600
/usr/share/doc/libgphoto2-devel/camlibs/README.pentax
/usr/share/doc/libgphoto2-devel/camlibs/README.ptp2
/usr/share/doc/libgphoto2-devel/camlibs/README.smal
/usr/share/doc/libgphoto2-devel/camlibs/README.sonix
/usr/share/doc/libgphoto2-devel/camlibs/README.sonydscf1
/usr/share/doc/libgphoto2-devel/camlibs/README.soundvision
/usr/share/doc/libgphoto2-devel/camlibs/README.spca50x
/usr/share/doc/libgphoto2-devel/camlibs/README.sq905
/usr/share/doc/libgphoto2-devel/camlibs/README.st2205
/usr/share/doc/libgphoto2-devel/camlibs/README.st2205-compression
/usr/share/doc/libgphoto2-devel/camlibs/README.toshiba-pdrm11
/usr/share/doc/libgphoto2-devel/camlibs/README.tp6801
/usr/share/man/man3/libgphoto2.3.gz
/usr/share/man/man3/libgphoto2_port.3.gz

References

Summary

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