How To Install libgphoto2 on Fedora 36

In this tutorial we learn how to install libgphoto2 in Fedora 36. libgphoto2 is Library for accessing digital cameras

Introduction

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

What is libgphoto2

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.

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

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

sudo dnf -y install libgphoto2

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

sudo yum -y install libgphoto2

How To Uninstall libgphoto2 on Fedora 36

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

sudo dnf remove libgphoto2

libgphoto2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/413dd982f1db55554a7960baf9042727376b6b
/usr/lib/.build-id/22
/usr/lib/.build-id/22/b60558040179ed18f0c3e21c5b48f26444585b
/usr/lib/.build-id/28
/usr/lib/.build-id/28/f4893a422802f38d93478b3c19ce76597e32ae
/usr/lib/.build-id/29
/usr/lib/.build-id/29/0ccae075cd338656117b5acab141ffb06c16db
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/26d6ef28bb61677ca6f2aca8c4e523b03e1248
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/6b93954bad4cc426deffef69102468571a1559
/usr/lib/.build-id/45
/usr/lib/.build-id/45/0ff81292fa3eff6dbf4a2aaf02cecc5b1aa984
/usr/lib/.build-id/64
/usr/lib/.build-id/64/11eca456f70fc561ba7d381613303ec2d77628
/usr/lib/.build-id/66
/usr/lib/.build-id/66/8006a31eab8691206b7d4cd4ba244323137fec
/usr/lib/.build-id/76
/usr/lib/.build-id/76/7d446d2ec6d026ac5da18e888687212ab2933a
/usr/lib/.build-id/78
/usr/lib/.build-id/78/2e0d7f4e33228c92e548c2efddec799fc532ac
/usr/lib/.build-id/87
/usr/lib/.build-id/87/69539b163ec1d8c8985271e5e3fa7246f03aed
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/625eb189ef33c18083f9325ac13ba209011ac0
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/17117657704f948584eda9797675a70dd1aa55
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/3d6bc72d0f4d61abd3b05a8150284e01461b2c
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/4df845fa71079cd490a59bf75c7e2a82eff9f8
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/ad66c7d08a4baf7ecbc1d8d012c7f77ae47b19
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/1624d59d254421325278e41cec6bf31a5e790a
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/beb768477490d549c9fda56817e591d6ee534e
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/4bf931a988332f7ab71d101e498e7ad21b6b8e
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/a8e0f296c9d0ebb6477c0e1f1aeea7ca32715d
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/1eed0f1fc60e124db73b5ac9908530a52fb562
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/4545e847b045e2793baa92ffd5e92a9151f589
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/8ff114b57c135d201bb2cdce3c0f207a651610
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/cb42b4f56a7963e431a82f86fae26535543210
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/1f459a0df70cf5c51ea7b10796500f3171e28d
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/7dfb855c1f18bdc12a2ffb6ca570a2f21ff5fb
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/bc32ece00b6ff141eba0532c20681d3a721254
/usr/lib/udev/check-ptp-camera
/usr/lib/udev/hwdb.d/20-gphoto2.hwdb
/usr/lib/udev/rules.d/40-libgphoto2.rules
/usr/lib64/libgphoto2
/usr/lib64/libgphoto2.so.6
/usr/lib64/libgphoto2.so.6.2.0
/usr/lib64/libgphoto2/2.5.29
/usr/lib64/libgphoto2/2.5.29/ax203.so
/usr/lib64/libgphoto2/2.5.29/canon.so
/usr/lib64/libgphoto2/2.5.29/digigr8.so
/usr/lib64/libgphoto2/2.5.29/dimagev.so
/usr/lib64/libgphoto2/2.5.29/directory.so
/usr/lib64/libgphoto2/2.5.29/docupen.so
/usr/lib64/libgphoto2/2.5.29/jl2005a.so
/usr/lib64/libgphoto2/2.5.29/jl2005c.so
/usr/lib64/libgphoto2/2.5.29/kodak_dc240.so
/usr/lib64/libgphoto2/2.5.29/lumix.so
/usr/lib64/libgphoto2/2.5.29/mars.so
/usr/lib64/libgphoto2/2.5.29/pentax.so
/usr/lib64/libgphoto2/2.5.29/ptp2.so
/usr/lib64/libgphoto2/2.5.29/ricoh_g3.so
/usr/lib64/libgphoto2/2.5.29/sierra.so
/usr/lib64/libgphoto2/2.5.29/sonix.so
/usr/lib64/libgphoto2/2.5.29/sq905.so
/usr/lib64/libgphoto2/2.5.29/st2205.so
/usr/lib64/libgphoto2/2.5.29/topfield.so
/usr/lib64/libgphoto2/2.5.29/tp6801.so
/usr/lib64/libgphoto2_port
/usr/lib64/libgphoto2_port.so.12
/usr/lib64/libgphoto2_port.so.12.0.0
/usr/lib64/libgphoto2_port/0.12.0
/usr/lib64/libgphoto2_port/0.12.0/disk.so
/usr/lib64/libgphoto2_port/0.12.0/ptpip.so
/usr/lib64/libgphoto2_port/0.12.0/serial.so
/usr/lib64/libgphoto2_port/0.12.0/usb1.so
/usr/lib64/libgphoto2_port/0.12.0/usbdiskdirect.so
/usr/lib64/libgphoto2_port/0.12.0/usbscsi.so
/usr/share/doc/libgphoto2
/usr/share/doc/libgphoto2/AUTHORS
/usr/share/doc/libgphoto2/NEWS
/usr/share/doc/libgphoto2/README.md
/usr/share/libgphoto2
/usr/share/libgphoto2/2.5.29
/usr/share/libgphoto2/2.5.29/konica
/usr/share/libgphoto2/2.5.29/konica/english
/usr/share/libgphoto2/2.5.29/konica/french
/usr/share/libgphoto2/2.5.29/konica/german
/usr/share/libgphoto2/2.5.29/konica/japanese
/usr/share/libgphoto2/2.5.29/konica/korean
/usr/share/libgphoto2/2.5.29/konica/spanish
/usr/share/licenses/libgphoto2
/usr/share/licenses/libgphoto2/COPYING
/usr/share/locale/cs/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/cs/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/da/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/da/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/de/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/de/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/es/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/es/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/eu/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/eu/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/fi/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/fr/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/fr/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/hu/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/it/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/it/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/ja/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/ja/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/nl/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/nl/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/pl/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/pl/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/ro/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/ru/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/ru/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/sk/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/sr/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/sv/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/sv/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/uk/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/uk/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/vi/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/vi/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libgphoto2_port-12.mo

References

Summary

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


title: “How To Install libgphoto2 on Fedora 36” linkTitle: “libgphoto2” type: “docs” description: “In this tutorial we learn how to install libgphoto2 in Fedora 36. libgphoto2 is Library for accessing digital cameras” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libgphoto2-featured.png

Introduction

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

What is libgphoto2

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.

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

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

sudo dnf -y install libgphoto2

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

sudo yum -y install libgphoto2

How To Uninstall libgphoto2 on Fedora 36

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

sudo dnf remove libgphoto2

libgphoto2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/670299563f700c9e877d168c5224dcc44aa143
/usr/lib/.build-id/13
/usr/lib/.build-id/13/45f3d1984715b12ce4edbffd10431178f23a7e
/usr/lib/.build-id/18
/usr/lib/.build-id/18/e5d10d92ced4c465550321e895e7ae7df2b915
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/f526259517895ccb822d577e7df027b2f6d88a
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/5447dcc42163a60f365ac2600645eb86c02941
/usr/lib/.build-id/2f/e33f6146cee59eac4fab15fafcb1755c3822ed
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/10f50949a40b5ecf6d51dff02618cfbc2fc1a3
/usr/lib/.build-id/54
/usr/lib/.build-id/54/377c279b73597b64166adf9f5efa026fc08c7b
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/345b6fec4e01163318744830cbb145a22a9855
/usr/lib/.build-id/60
/usr/lib/.build-id/60/69a1197132224642dacc2f2bada5f4601bce58
/usr/lib/.build-id/60/880aaf53e8388607eb29864c1d0bcdb46fc595
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/1296dbec7a324f6556e4180e13078a58be155c
/usr/lib/.build-id/73
/usr/lib/.build-id/73/b460e986f07f27c65af191ae1838b4da3b7d8b
/usr/lib/.build-id/78
/usr/lib/.build-id/78/ad523605bc24d7fc682ad0d3fd22ff3eeafad8
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/119a47257614bd2b4d6172533cef4bd5d7ee9c
/usr/lib/.build-id/81
/usr/lib/.build-id/81/327f47ae1e23b79f019ae85c979288efe66bac
/usr/lib/.build-id/81/5550af1d9af804ba6ad00a55bbbd06c596d5c1
/usr/lib/.build-id/82
/usr/lib/.build-id/82/4ad7cb93b9b7a1857d5fca412fbf9cbba6a854
/usr/lib/.build-id/95
/usr/lib/.build-id/95/e2a0d380322cfc939bab722bdbad54b2fae087
/usr/lib/.build-id/98
/usr/lib/.build-id/98/19da099dd670976fc5282ad281d7cc58be51c4
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/69675fb3a5890902780c21e291bd7be179dad1
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/8faa34c8aafc6bde90d1cac0e33dfd3517c1ce
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/8324d66d8c1972f71d4f95a14d0800729c75dc
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/10470141aed292836424fac6798a367b6f8f26
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/780d9b5281dfbf51deeef3b0c142396d823bb7
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/996aeda32833be5a81cb5e0e89ff2bf045a55c
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/027a038ec3f904eb24ef9098739c3145d37fb4
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/650f29b4c8c872ed969e7eac65469b7dea85fb
/usr/lib/libgphoto2
/usr/lib/libgphoto2.so.6
/usr/lib/libgphoto2.so.6.2.0
/usr/lib/libgphoto2/2.5.29
/usr/lib/libgphoto2/2.5.29/ax203.so
/usr/lib/libgphoto2/2.5.29/canon.so
/usr/lib/libgphoto2/2.5.29/digigr8.so
/usr/lib/libgphoto2/2.5.29/dimagev.so
/usr/lib/libgphoto2/2.5.29/directory.so
/usr/lib/libgphoto2/2.5.29/docupen.so
/usr/lib/libgphoto2/2.5.29/jl2005a.so
/usr/lib/libgphoto2/2.5.29/jl2005c.so
/usr/lib/libgphoto2/2.5.29/kodak_dc240.so
/usr/lib/libgphoto2/2.5.29/lumix.so
/usr/lib/libgphoto2/2.5.29/mars.so
/usr/lib/libgphoto2/2.5.29/pentax.so
/usr/lib/libgphoto2/2.5.29/ptp2.so
/usr/lib/libgphoto2/2.5.29/ricoh_g3.so
/usr/lib/libgphoto2/2.5.29/sierra.so
/usr/lib/libgphoto2/2.5.29/sonix.so
/usr/lib/libgphoto2/2.5.29/sq905.so
/usr/lib/libgphoto2/2.5.29/st2205.so
/usr/lib/libgphoto2/2.5.29/topfield.so
/usr/lib/libgphoto2/2.5.29/tp6801.so
/usr/lib/libgphoto2_port
/usr/lib/libgphoto2_port.so.12
/usr/lib/libgphoto2_port.so.12.0.0
/usr/lib/libgphoto2_port/0.12.0
/usr/lib/libgphoto2_port/0.12.0/disk.so
/usr/lib/libgphoto2_port/0.12.0/ptpip.so
/usr/lib/libgphoto2_port/0.12.0/serial.so
/usr/lib/libgphoto2_port/0.12.0/usb1.so
/usr/lib/libgphoto2_port/0.12.0/usbdiskdirect.so
/usr/lib/libgphoto2_port/0.12.0/usbscsi.so
/usr/lib/udev/check-ptp-camera
/usr/lib/udev/hwdb.d/20-gphoto2.hwdb
/usr/lib/udev/rules.d/40-libgphoto2.rules
/usr/share/doc/libgphoto2
/usr/share/doc/libgphoto2/AUTHORS
/usr/share/doc/libgphoto2/NEWS
/usr/share/doc/libgphoto2/README.md
/usr/share/libgphoto2
/usr/share/libgphoto2/2.5.29
/usr/share/libgphoto2/2.5.29/konica
/usr/share/libgphoto2/2.5.29/konica/english
/usr/share/libgphoto2/2.5.29/konica/french
/usr/share/libgphoto2/2.5.29/konica/german
/usr/share/libgphoto2/2.5.29/konica/japanese
/usr/share/libgphoto2/2.5.29/konica/korean
/usr/share/libgphoto2/2.5.29/konica/spanish
/usr/share/licenses/libgphoto2
/usr/share/licenses/libgphoto2/COPYING
/usr/share/locale/cs/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/cs/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/da/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/da/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/de/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/de/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/es/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/es/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/eu/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/eu/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/fi/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/fr/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/fr/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/hu/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/it/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/it/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/ja/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/ja/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/nl/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/nl/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/pl/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/pl/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/ro/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/ru/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/ru/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/sk/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/sr/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/sv/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/sv/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/uk/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/uk/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/vi/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/vi/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libgphoto2-6.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libgphoto2_port-12.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libgphoto2_port-12.mo

References

Summary

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