How do I install from the github source?

I thought I was very computer literate but RPD has me stumped! Firstly, I am running nobara 41 and I did try the Fedora 41 rpm (0.9.33) and it didn’t work.

So I downloaded the program from github and unzipped it. There is an INSTALL.md file which lists the required software and then finishes with:

## Building Rapid Photo Downloader

Run:
``bash
hatch build -t sdist
``

Running the build creates desktop integration files in the `share` folder 
(localization files do not need to be installed system-wide).  

But that doesn’t install anything to my computer that I can then run! What do I do with this to install RPD so that I can run it?

And yes, it will probably be a “duh” moment when someone generously takes the time to walk me through the process. So, in advance, thank you very much.

Doug

What happened when you ran hatch build -t sdist in your terminal?

It created a /dist/ folder with a tar.gz inside (rapid_photo_downloader-0.9.37a6.tar.gz) that has the share and man folders etc. But no instructions on what to do next…

so you never ran the hatch command?

I extracted the github archive creating a folder:

rapid-photo-downloader-main

In that was the INSTALL.md file which had the hatch instructions.

I downloaded the other hatch modules and then ran

hatch build -t sdist

It created the man, the items in share, etc and a dist folder, all within the original folder.

In the dist folder is the archive:

rapid_photo_downloader-0.9.37a6.tar.gz

which also has the man file, the share folder with appropriate files, etc. It does not have the INSTALL.md file.

Not sure what the next step is? Hatch is run, there are a bunch more files in the original folder and there is a dist folder with an archive…

Bump!

Desperately want to use this software but still don’t know what to do after running hatch.

Probably something like python3 somefolder/rapidphotodownloader.py I’d imagine.

Hmm. Moved the rapid.py file from raphodo folder into the main folder and ran.

Now I am having the Could not find the QT platform plugin “wayland” and “xcb” problem. Which I have researched and it is a wrong cpu architecture problem, not any of the normal issues with this. Far beyond the scope of this forum, I suspect!

Thanks for your help.

I’d guess that you installed the python dependencies, but there are other dependencies that are not Python as well. Have you installed those?

Sorry those instructions were always aimed at distro package maintainers, not end users, where the distro provides mechanisms to add the program to the menu, path, etc. My plan was to produce packages using the openSUSE build service but then my health went downhill and I haven’t been able to do anything much in the last 9 months or so — no working on the program (and no employment of any kind in fact :frowning: ).

It’s difficult for me to get back into at the moment because my health is still poor such that doing programming of any kind is exhausting. More than a little of it worsens my situation.

The amazing thing is that even in 9 months away, plenty has changed. A program called uv has taken the Python world by storm. I need to understand that before I can resume working on Rapid Photo Downloader.

Hi all,
first @damonlynch many thanks for your work. I use rapid-photo-downloader for months now. An amazing product.

I’ve installed rapid-photo-downloader by the simpliest way for the noob I’m.

apt show rapid-photo-downloader 
Package: rapid-photo-downloader
Version: 0.9.26-2
Priority: optional
Section: graphics
Maintainer: Dr. Tobias Quathamer <toddy@debian.org>
Installed-Size: 19,0 MB
Depends: gir1.2-gexiv2-0.10, gir1.2-glib-2.0, gir1.2-gstreamer-1.0, gir1.2-gudev-1.0, gir1.2-notify-0.7, gir1.2-udisks-2.0, gstreamer1.0-libav, gstreamer1.0-plugins-good, libgphoto2-6, libimage-exiftool-perl, libmediainfo0v5, libqt5svg5, python3-babel, python3-colour, python3-gi, python3-gphoto2, python3-pyqt5, python3-requests, python3-tenacity, qt5-image-formats-plugins, python3-arrow, python3-dateutil, python3-easygui, python3-psutil, python3-pymediainfo, python3-sortedcontainers, python3-tornado, python3-xdg, python3-zmq, python3:any
Recommends: libraw-bin
Homepage: https://damonlynch.net/rapid
Tag: implemented-in::python, interface::graphical, interface::x11,
 role::program, uitoolkit::qt, use::downloading, works-with::image,
 x11::application
Download-Size: 4 845 kB
APT-Manual-Installed: yes
APT-Sources: http://ftp.fr.debian.org/debian bullseye/main amd64 Packages
Description: importation d’images à partir d’appareils photo, cartes mémoire et autres périphériques
 Rapid Photo Downloader peut être utilisé par les photographes amateurs ou
 professionnels pour télécharger simultanément des photos et vidéos à partir
 de divers appareils photographiques, cartes mémoires et périphériques de
 stockage portables. Il fournit beaucoup d’options adaptables, définies par
 l’utilisateur, pour la création de sous-répertoires, le renommage de photo
 et vidéo, et permet aussi la sauvegarde.

I didn’t anything else. It works fine.

1 Like