For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/security:apparmor/openSUSE_Tumbleweed/security:apparmor.repo
zypper refresh
zypper install apparmor
For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/security:apparmor/openSUSE_Factory/security:apparmor.repo
zypper refresh
zypper install apparmor
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/security:apparmor/15.6/security:apparmor.repo
zypper refresh
zypper install apparmor
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/security:apparmor/15.5/security:apparmor.repo
zypper refresh
zypper install apparmor
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/security:apparmor/15.4/security:apparmor.repo
zypper refresh
zypper install apparmor