how to install RPM files

hi

i have just download

wine-1.1.17-openSUSE11.1.src.rpm files

and to install

rpm -i /home/vikal/downloads/wine-1.1.17-openSUSE11.1.src.rpm

i have down like this (from root)

but this shows following errors

rpm -i /home/vikal/downloads/wine-1.1.17-openSUSE11.1.src.rpm

now please tell me

how to install rpm files

best regards

vikal

Do you see the “src” in wine-1.1.17-openSUSE11.1.src.rpm ? That indicates it contains the source code. I only download an “src” rpm if I wish to rebuild the rpm. Without rebuilding, it will not give you an executable.

Typically, if one wishes to download an rpm that can be installed to give an executable application, one will download an rpm without the “src” .

If I wish to install an application from the command line, I typically do NOT use "rpm -i … ", but rather on openSUSE-11.1, I will use zypper, which will look after dependencies. ie … I will change to the directory where the rpm is located, I will type “su” (no quotes - enter root password) to get root permissions, and then I will type with my PC connected to the internet:

**zypper install wine-1.1.17.i586.rpm **
[or what ever the rpm is called]

or with the Smart package manager:
**smart install wine-1.1.17.i586.rpm **
[or what ever the rpm is called]

Or if I wished to install via rpm command:
**rpm -Uvh wine-1.1.17.i586.rpm **
[or what ever the rpm is called]

The ONLY time I use "rpm -i … " is when I wish to install multiple versions of an application.

Having typed typed that, its not often I download rpms. Instead, I let my software package manager do that for me. Have you setup your software package manager?

Firstly you have downloaded a srcrpm, these are .rpm’s with source code.
You want to download the normal .rpm file.
Also it should automatically install if you tell it to, if you use firefox it should install with YAST

Hi,

Just a question: Do you have a reason not to install the package that comes with the distro? If not so just go to Yast and install wine. :slight_smile:

Bye

Erik

Forgive me for this brainfart question.

Using this link here:

software.opensuse.org:

I installed the 32bit version (12.3) using Apper install. When completed where do I find the app in dolphin?

On 2013-12-21 03:36, fisk king1 wrote:
>
> Forgive me for this brainfart question.
>
> Using this link here:
>
> ‘software.opensuse.org:’
> (http://software.opensuse.org/package/keepassx2)
>
> I installed the 32bit version (12.3) using Apper install. When
> completed where do I find the app in dolphin?


rpm -ql keepassx2 | grep "bin/"


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Change option “enabled” to 1 in file /etc/zypp/repos.d/repo-source.repo and run command:

# zypper sourse-install wine 

reshtnk7 you do know that OpenSUSE 11.1 is dead and buried
it went END OF LIFE back in “January 14th 2011”

it is 4 years out of date
and the antique version of wine for 11.1 will not run on the current 13.2


su -
zypper in wine

will install the current in the repos