RPM does not have separate “configuration” step. RPM packages are non-interactive and cannot request input during installation.
You edit whatever configuration files would be changed by this invocation. Yes, you need to know these configuration files. If you describe what you are trying to do (not how), someone may suggest how to do it.
As to what I’m trying to do.
I have a keyboard with an American layout because I prefer where some buttons are placed.
I am italian and our language uses accented letters a lot, the following: èéùìòà
And since I’m in europe we use the euro symbol instead of dollar, €
I want to be able to bind altgr to a e i o u to output the accent version altgr+shift+e should give the other accent: é
and altgr+4 should give me the euro symbol €
But now what worries me is, since I did run tpart of the lines, specifically the following:
zypper in -f <package> will force-reinstall the package, which is what you want to do to restore the files you modified in /usr/share.
Most files in the non-interactive installation will be replaced with their defaults, but some files, such as user editable configurations, will be kept, and an informational message such as “saving /path/to/foo as /path/to/foo.rpmnew” will be printed during the installation - if you encounter such, you will have to replace your user edited files with the .rpmnew ones to restore the defaults. Generally such files do not exist under /usr/share.