Last active
December 3, 2023 22:01
-
-
Save johntron/08ed144168b05f25de50e88edc2ef59c to your computer and use it in GitHub Desktop.
Build libgphoto2 and gphoto2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -OL https://github.com/gphoto/libgphoto2/releases/download/v2.5.31/libgphoto2-2.5.31.tar.gz | |
tar -xzf libgphoto2-2.5.31.tar.gz | |
cd libgphoto2-2.5.31/ | |
sudo apt install libtool libusb-dev | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
ls -al /usr/local/lib/libgphoto2 | |
curl -OL https://github.com/gphoto/gphoto2/releases/download/v2.5.28/gphoto2-2.5.28.tar.gz | |
tar -xzf gphoto2-2.5.28.tar.gz | |
cd gphoto2-2.5.28/ | |
sudo apt install libpopt-devel libexif-dev | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
sudo ldconfig | |
gphoto2 -v | |
gphoto2 --auto-detect | |
sudo gphoto2 --capture-preview |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment