Projects - Installing GPhoto
Using Digital Camera on GNU/Linux.
#tar xvfj libgphoto2-2.1.99.tar.bz2 #cd libgphoto2-2.1.99 #./configure && make && make installNotice to choose the right option of your Digital Camera with the command2:
./configure --with-drivers=xxx
--with-drivers= compile drivers in . Drivers may be separated
with commas, 'all' is the default and compiles all
drivers. Possible drivers are: adc65 agfa-cl20 aox
barbie canon casio digigr8 digita dimera directory
enigma13 fuji gsmart300 hp215 iclick jamcam jd11
kodak konica largan lg_gsm mars minolta mustek
panasonic pccam300 pccam600 polaroid ptp2 ricoh
samsung sierra sipix smal sonix sonydscf1 sonydscf55
soundvision spca50x sq905 stv0674 stv0680 sx330z
template toshiba . Obsolete drivers not included in
default:
#tar xvfj gphoto2-2.1.99.tar.bz2 #cd gphoto2-2.1.99 #./configure && make && make install
#ldconfig
Use root as user and type the command lsusb to detect whether your system have detected your Digital Camera. However, you should make your system recognize USB devices first, if you have no idea about that, just check out How to get USB devices working under Linux from linux-usb.org.
Here is the output of my lsusb:
#lsusb Bus 001 Device 007: ID 040a:0589 Kodak Co. Bus 001 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Bus 001 Device 001: ID 0000:0000
#gphoto2 --auto-detect
#gphoto2 --list-files
#gphoto2 --get-all-files
#gphoto2 --get-file 7-13
#man gphoto2
1. Of course you should have a digital camera for this section. Actually I have a Kodak C360.
2. If your camera is not included in this list, you must choose all which is the default.