Install libnet-dpap-client-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-dpap-client-perl
Perl module for cnnecting to iPhoto shares (DPAP)
The Net::DPAP::Client module provides a DPAP client. DPAP is the Digital Photo Access Protocol and is the protocol that Apple iPhoto uses to share photos. This allows you to browse shared albums, and download thumbnail and hires versions of shared photos. . It currently doesn't support password-protected shares.