You must be the zone administrator in the lx branded zone to perform this procedure.
yum:
Fedora Documentation site
yum.conf(5)
yum(8)
rpm:
See How do I install or upgrade an RPM package? at https://access.redhat.com/kb/FAQ_35_198.shtm.
rpm(8)