LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do i install rpms properly? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-install-rpms-properly-430525/)

sleekmason 03-31-2006 10:55 PM

how do i install rpms properly?
 
Ok, so I'm new to linux and need a helping hand. First. How do you install an entire rpm package in a download? What I am saying is that I downloaded open office on my wifes computer, transferred it to cd, and am able to load it onto my computer. . . . but! I do not understand how to install it. When I open the package, it shows me all of the rpm's. If I open one rpm, it tells me it needs another rpm(in the same package) in order to install. When I go to install the one it says it needs, I get the same type of problem(it tells me it needs another rpm in the package to install.

Right then! Obviously, I need to somehow install the whole thing at once, so it will all take at the same time, but . . . . I don't have a clue, and am here trying to get one:) I really need someone to write out step by step how to do this please. This isnt the only program I've run into that does this, so by logic, I'm the one with the problem, not the program. As a side note, when windows 95 came out, I almost started in wiith unix . . . . . and now . . . . aaarrrgggg!!!!

pixellany 03-31-2006 11:29 PM

After you download and unpack**, you have a folder called "RPMS". In this folder, simply type rpm -i *.rpm (This command runs the rpm installer on every file that ends with .rpm)

**When you download, you will have a file ending in .tar.gz To unpack this, type "tar -xvf <filename> (Do this in the folder where you want OOo to wind up---eg /opt)

sleekmason 03-31-2006 11:53 PM

When you say type in this folder do you mean open a terminal window? I tried that in /opt and put: "tar -xvf 00o_2.0.2Linuxintel_install.tar.gz is the " supossed to be there?

b0nd 03-31-2006 11:54 PM

hi,
in case your rpm complains about dependencies.....you can come out with:

#rpm -ivh --nodeps name.rpm .......in many cases it will work. Otherwise resolve the dependencies first.

regards

sleekmason 03-31-2006 11:54 PM

right now I have the whole package in a folder I named Temp inside my desktop folder

sleekmason 04-01-2006 12:50 AM

I know this is simple stuff, but I really need somebody to walk me through this start to finish as though I was a 6 year old. After that, I'll have it! The name of the file program is: 00o_Linuxintel_install.tar.gz ( this is open office) I copied it off of a cd I downloaded from the internet, and put it in: file:/home/sleekmason on my computer

I really dont know what I'm doing at all. I dont know where to write (in a terminal?), or what to write or any number of steps I might need to take to make this work.
I know this will be a little time consuming for any body who takes the time and I am extremely grateful for your help.

b0nd 04-01-2006 01:12 AM

ok, read these 2 articles first

http://www.gnulinuxclub.org/index.ph...=146&Itemid=31

http://www.gnulinuxclub.org/index.ph...=287&Itemid=31

regards

sleekmason 04-01-2006 09:28 AM

I tried this but it doesnt want to do it. Is this correct ? or was something left out?
I get "no such file or directory"


(3) Now you will need to navigate to your folder with the .gz file in it using the change directory command (cd)
cd path_to_the_00o_Linuxintel_install.tar.gz file

reddazz 04-01-2006 03:42 PM

I'll give you some help with this since you seem to be struggling.
  1. Download or copy OOo_2.0.2_LinuxIntel_install.tar.gz to somewhere in your home directory e.g. /home/user/downloads.
  2. Start a terminal such as Konsole or gnome-terminal.
  3. Change into the place you put OOo_2.0.2_LinuxIntel_install.tar.gz by doing something like
    Code:

    $cd /home/user/downloads
  4. Extract the contents of OOo_2.0.2_LinuxIntel_install.tar.gz by doing
    Code:

    $tar -zxvf OOo_2.0.2_LinuxIntel_install.tar.gz
  5. Change into the extracted RPM subdirectory of the extracted directory by doing
    Code:

    $cd OOB680_m5_native_packed-1_en-US.9011/RPMS
  6. If you are not using GNOME, delete openoffice.org-gnome-integration-2.0.2-5.i586.rpm by doing
    Code:

    $rm openoffice.org-gnome-integration-2.0.2-5.i586.rpm
    This prevents you having dependency issues with gnome-vfs.
  7. Switch to root by doing
    Code:

    $su
  8. Install the rpms by doing
    Code:

    #rpm -Uvh *.rpm desktop-integration/*redhat*


All times are GMT -5. The time now is 05:19 PM.