Sunday, September 27, 2015

Compile and install gPhoto2 2.5.8 and libgphoto2 for Raspberry Pi, with gphoto2-updater script

gPhoto2 is a free, redistributable, ready to use set of digital camera software applications for Unix-like systems.

It can be installed on Raspberry Pi with:
$ sudo apt-get install gphoto2

But it's version 2.4.14-1, not the latest version 2.5.8.

gphoto2-updater is a compiler and installer script specifically created for Raspbian and Raspberry Pi, but should work over any Debian-based distribution. It support the latest version 2.5.8 currently.


To download and compile last script version just be sure you are connected to the Internet and run:
$ wget https://raw.githubusercontent.com/gonzalo/gphoto2-updater/master/gphoto2-updater.sh && chmod +x gphoto2-updater.sh && sudo ./gphoto2-updater.sh


This video show running the script on Raspberry Pi 2/Raspberry Wheezy to compile and install gphoto2 2.5.8 in 46min.


Condition:
- Board: Raspberry Pi 2 (RS version)
- OS: Raspbian Wheezy 2015-05-05
- SD: Class-4 (slow)
- Connection: WiFi
- Remote control from Windows 10 running PuTTY SSH

Next:
- Test gPhoto2 2.5.8 on Raspberry Pi 2 + Nikon D7000 DSLR, in command line
Install and run GtKam on Raspberry Pi 2



Updated@2015-09-30:
This video show running the script on Raspberry Pi 2/NEW Raspbian Jessie to compile and install gphoto2 2.5.8 in 23min.

After finished, the gPhoto2 is version 2.5.8, but libgphoto2 is 2.5.4!!!


Condition:
- Board: Raspberry Pi 2 (Element-14 version)
- OS: Raspbian Jessie 2015-09-24
- SD: Class-10 Ultra (fast)
- Connection: Cable
- Remote control from Windows 10 Remote Desktop Connection to Raspberry Pi XDP

[Remark]
Just for reference. It's NOT aim to compare the performance between Raspbian Wheezy and Jessie. The two setup in difference configuration.

Updated again@2015-12-02:
To install both gphoto2 and libphoto2 2.5.9, refer "Install gphoto2 and libgphoto2 version 2.5.9 on Raspberry Pi 2/Raspbian Jessie 2015-11-21".


python-gphoto2 related:
- Install python-gphoto2 on Raspberry Pi 2/Raspbian Jessie - fail
- Install python-gphoto2 on Raspberry Pi 1/Raspbian Wheezy - success

No comments: