Page 1 of 1

Installing with RPM

PostPosted: 01 Oct 2011, 09:38
by canhoto
Sorry to ask, but I don't seem to find instructions for installing with RPM's (just with the tar).

Sorry for all this questions.

Re: Installing with RPM

PostPosted: 02 Oct 2011, 18:21
by billb
Some general tips for installing software from online software repositories:
viewtopic.php?f=19&t=3017

If you're trying to install software from an individual RPM or set of RPMs, there are a few ways to go about doing that.

If it's just a single RPM package saved to your desktop, for example, you may be able to install it simply by double-clicking on the file and opening it with the Software Installer. You can also install software from a terminal window using the rpm or yum commands. rpm doesn't try to resolve dependency issues for you, while yum will automatically install other required packages if they're available. In either case you need to login as root using the su command first. Here are some examples ...

Installing a single RPM package with rpm:

su
<root password>

rpm -ivh /path/to/your/file.rpm

Installing a single RPM package with yum:

su
<root password>

yum localinstall --nogpgcheck /path/to/your/file.rpm

You can also specify multiple packages at once which is useful when you want to install something that requires multiple RPM packages due to dependencies -- for example:

rpm -ivh file1.rpm file2.rpm file3.rpm

Also, while you're in a terminal window you can view documentation for the yum and rpm commands:

man yum
man rpm

Re: Installing with RPM

PostPosted: 02 Oct 2011, 22:44
by canhoto
Thanks! It was very useful.

I just installed (I think) OpenOffice.Org 3.3.2 Writer by clicking on the rpm and running software installer (after installing all the dependencies).

But now I can't find it (I can only find the old version (3.0.0)

Where shall it be?

Re: Installing with RPM

PostPosted: 02 Oct 2011, 22:52
by canhoto
canhoto wrote:Thanks! It was very useful.

I just installed (I think) OpenOffice.Org 3.3.2 Writer


Sorry, it's OpenOffice 3.2.1