For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:frispete:tools/openSUSE_Tumbleweed/home:frispete:tools.repo
zypper refresh
zypper install gnu_ddrescue
For openSUSE Leap 15.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:frispete:tools/openSUSE_Leap_15.2/home:frispete:tools.repo
zypper refresh
zypper install gnu_ddrescue
For openSUSE Leap 15.1 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:frispete:tools/openSUSE_Leap_15.1/home:frispete:tools.repo
zypper refresh
zypper install gnu_ddrescue