For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:michals/openSUSE_Tumbleweed/home:michals.repo
zypper refresh
zypper install ndctl
For openSUSE Factory RISCV run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:michals/openSUSE_Factory_RISCV/home:michals.repo
zypper refresh
zypper install ndctl
For openSUSE Factory PowerPC run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:michals/openSUSE_Factory_PowerPC/home:michals.repo
zypper refresh
zypper install ndctl
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:michals/openSUSE_Factory_ARM/home:michals.repo
zypper refresh
zypper install ndctl
For 16.0 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:michals/16.0/home:michals.repo
zypper refresh
zypper install ndctl