how to use socks proxy in zypper or yast2 ?

i must use socks5 proxy to surf internet.

but how to use it in zypper or yast2 to install software ?

No-one? I would like to use that too.