Skip to content

GPhoto2 Usage Instructions

acbuynak edited this page May 1, 2021 · 2 revisions

Gphoto2 is just a user interface with a library. You need to download the library in order for gphoto2 to actually work.

Installation Instructions

At a minimum, you need:

If you install these either by downloading the zip or through github, you will get an install file with instructions. Follow those instructions. There are other files and addons which might be useful at that website, but you only need the two programs above.

When installing the programs, you might need other apps installed to properly install.

If you don’t use the zip/tar files and download from github, there is an extra step required which also requires a program called autoreconf which is dependent on these:

automake
autoconf
pkg-config (to detect additional library dependencies)
autopoint (needed if installing from github)
gettext  (possibly from -dev or -devel package)
libtool  (possibly from -dev or -devel package)

The following programs are helpful but not necessarily required.

`libusb` (ver. >= 0.1.6a) -- Universal Serial Bus camera support
    <URL:http://www.sourceforge.net/projects/libusb/>

`gettext` (ver. >= 0.10.40) -- internationalization using shared library

`gtk-doc` -- documentation built in doc/api/

`libexif` - EXIF tag support
    <URL:http://www.sourceforge.net/projects/libexif>

You also need a compiler like GCC.

Troubleshooting

There may be other issues that crop up which I didn’t encounter or I didn’t remember. Invariably, if something fails to install you will get an error message or code which you can look up and find out if you’re missing a program. Additionally, Ubuntu might automatically identify why a program failed to install. If so, install whatever program it asks for using the commands it suggests.

The manual is comprehensive. Make sure to check there for issues as well.

http://www.gphoto.org/doc/manual/

Last Updated

Authored by @tijaci (April 2021)

Clone this wiki locally