Gphoto2 and libGphoto2 compiler and installer script http://github.com/gonzalo/gphoto2-updater
Last version: 2.5.7
This script is specifically created for Raspbian http://www.raspbian.org and Raspberry Pi http://www.raspberrypi.org but should work over any Debian-based distribution
Created and mantained by Gonzalo Cao Cabeza de Vaca Please send any feedback or comments to gonzalo.cao(at)gmail.com
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
Since 2.5.5 version you can pick an specific libgphoto version:
$ wget https://github.com/gonzalo/gphoto2-updater/releases/download/[ligphoto-version]/gphoto2-updater.sh && chmod +x gphoto2-updater.sh && sudo ./gphoto2-updater.sh
Check releases https://github.com/gonzalo/gphoto2-updater/releases
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.