I’m using opensuse 12.1 KDE and i’m facing a strange problem. whenever i install an rpm file, Apper installs along with the rpm all the applications i have removed after the opensuse installation!
for example: i downloaded smplayer’s source, i created an rpm file, and when i installed it, apper install together all the games, ktorrent, kmail etc. and all the other apps that where removed. i don’t want those applications to be in my system, i just wanna install the *.rpm file.
i didnt actually chose to use apper, by default is the program that starts. how can i configure an rpm to automatically install with software management or zypper?
We know that you are forced in the direction of Apper by the devs, but we do not recommend it (and almost nobody here uses it).
Deinstalling it (as @VampirD advises) will refrain you from using it by accident.
I do not know what then the default application will be when you “click” on an RPM file, but you can allways configure that in KDE.
From the CLI use
Presumably, you’re clicking on the rpm file, and this launches the unwanted (software manager) application. It is possible to adjust via System Settings > File Associations, then enter ‘rpm’ in the search text box. Under the known types, you’ll see ‘application’. Select that, and you’ll see the ‘rpm’ file type. The default app will be displayed (along with other choices if they exist). Mine (openSUSE 11.4) shows ‘Install/Remove Software’, which actually uses the underlying command
package-manager --install %F
You can adjust or remove the preferred applications as required
For example, you could add this
/usr/bin/xdg-su -c '/sbin/yast2 --install %F'
Call it what you like, but it will use the yast package manager explicitly.