zypper remove package
will not work you got an error like this
In case ‘exmaple’ is not a typo it’s probably not a built-in command, but provided as a subcommand or plug-in (see ‘zypper help subcommand’).
In this case a specific package providing the subcommand needs to be installed first. Those packages are often named ‘zypper-exmaple’ or ‘zypper-exmaple’.
solution is
zypper remove -u package