I want to specify the install path by using
zypper, but I didn't find an appropriate argument when I typed the command
Can anyone help me or tell me?
NOTE: My distribution is OpenSuSE 11.2.
First off, OpenSuSE 11.2 has been EOL'd so you probably want to upgrade.
However, from the man page you can change the root directory with
This means if you do the following:
zypper in foo
foo lives in
zypper -R /usr/local/ in foo