OpenSUSE Linux Rants

OpenSUSE Linux Tips, tricks, how-tos, opinions, and news

My Resume  -  My LinkedIn Profile

September 21, 2007

Install Downloaded RPM in YAST

by @ 11:11 am. Filed under SUSE Tips & Tricks

Sam wrote in asking me a great question. Sometimes you have a stand-alone RPM that you have downloaded. The problem now is how to get it installed, especially if you want dependencies to automatically be resolved.

Hi Scott,

I want to thank you for writing the “Easiest Linux Guide Ever”. You are a felicitous writer.

If I’m not taking much of your time, I wanted to tell you that I still can’t figure out how to use YAST to install Flash 9.0 (RPM package).

If you can tell me, or point out to me how to proceed, I’d be much obliged.

Sam

Sam,

Thanks! I’m glad you enjoy the writing.

There are two things you could do. You can either install it from the command line using RPM, for example:

rpm -Uvh flash-rpm-package-here.rpm

The problem here is that it doesn’t automatically install dependencies.

The other thing is that you can create your own installation repository (super easy) with createrepo. Install the createrepo package. Then, you create a directory which you will use as the repository. Dump the RPM in there. Then, you run the createrepo command on that directory. For example, you make a directory called /my_inst_src. You then place the flash rpm in there. Then run this command:

createrepo /my_inst_src

You then go into YAST and add that directory as an installation source.

You should now be able to go into YAST and install it just like you do any other RPM. Dependencies should be resolved as usual, should any exist.

Hope that helps.

Scott

OpenSUSE Linux Rants
Official OpenSUSE Linux Site

internal links:

categories:

SUSE Resources

search blog:

archives:

September 2007
S M T W T F S
« Aug   Oct »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

55 queries. 1.718 seconds