LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Finding rpm and expanding a file (https://www.linuxquestions.org/questions/red-hat-31/finding-rpm-and-expanding-a-file-199984/)

Brooksias 07-01-2004 01:08 PM

Finding rpm and expanding a file
 
I found out how to install a rpm via an internet search and I think I've installed the Opera rpm. I used the terminal (command rpm -i . . . and so on). After doing that I searched for the application but I can't find it. I have only been using linux for 3 days so please explain in the most infintile way possible any suggestions you might have.
Also, I've downloaded LimeWireLinux.bin and I cannot figure out how to expand this file.
Thanks for any help you can give!
Brooks

darthtux 07-01-2004 01:42 PM

Do the following as the root user

Run the command

rpm -Uvh opera_file_name

the v option will tell you what is going on

For limewire
./LimeWireLinux.bin
when your in that directory

Brooksias 07-01-2004 11:09 PM

Do the following as the root user

Run the command

rpm -Uvh opera_file_name

the v option will tell you what is going on



I opened a terminal window and became the super user and typed the "rpm -Uvh opera_file_name" command you suggested and it said "No such file or directory".
The same thing happened after I typed in the limewire command.
This is very frustrating. I know I had the files but now I guess I don't.
Anyway, thanks for trying.

darthtux 07-01-2004 11:15 PM

First, you have to be in the directory where you downloaded the file
cd to the directory and then run the command

Second, substitute the name of the file you downloaded for opera_file_name

Brooksias 07-02-2004 03:32 PM

I think I may be understanding now. You suggest I do the following. . .

Open a terminal window and run the command. . .

rpm -Uvh "whatever the file name is"

Is that correct?

You then said I have to make sure I'm in the directory that has the file name in it. CD to that directory. What does that mean? The file is on the desktop. Does that mean there is a "desktop" directory? Does directory mean location or folder? If that is the case, then I don't know how to make sure I'm in a specific location while I'm in the terminal window.
I do know how to type in the terminal su and become the superuser and what that means but I don't know how to make sure I'm in a certain location.

I really appreciate you helping me through these first few SLOW steps.

Slakjak 07-02-2004 07:49 PM

What window manager do you use gnome or KDE? or another.. I use gnome.
it has a folder called Desktop in your home directory. A easy way to get to your home directory is to open a terminal window and type: cd
and just hit enter that will take you right to your home dir.
you then can type: pwd
and that will show you where you are.
Also note that if you use su. and you do the cd [enter] it will take you to /root.
so if your in su mode. I would just type: cd /home/slakjak (place your logon name here).

A good way to see where your rpm 's are installed to is use the
rpm -ql opera

Also sometimes I slap a

rpm -ql opera | more

So it doesn't scroll off the screen.
also if it says package not installed you could try

rpm -qa | grep opera

and this will list all the rpm's that are installed with the name oprea in them.

bmfmyth 07-03-2004 01:19 PM

Can find it in start here> internet> more internet choices> and opera icon should be there. Happened to me when I installed it I couldn't exactly find where it was installed.

Brooksias 07-03-2004 01:42 PM

It wasn't in there. But thanks for all the help people. I'm not sure what else there is for me to try. I at least understand directories now. I tried downloading many different kinds of files such as rpm and .bin and tar.gz and so on but I wasnt' able to intall any of them. This is so frustrating, for four days now I've been working on just downloading and installing a freakin' program. I thought I could handle this because I've worked on and became a fairly high-end user of Mac OS 9 for about 10 years and I've even been working with OS X for a couple of years. I have a G3 powerbook and wanted to upgrade from long in the tooth OS 9 but OS X was way too slow on my G3. I discovered Yellowdog linux and burned some intall cds and away I went and have been lovin it untill this brick wall has me stopped. I don't know what else to do except if I get a chance look for a linux for dummies book. Well I didn't mean to get into all that, I just want to say thanks again for all the help.

Brooks

bmfmyth 07-03-2004 02:01 PM

Quote:

Originally posted by Brooksias
It wasn't in there. But thanks for all the help people. I'm not sure what else there is for me to try. I at least understand directories now. I tried downloading many different kinds of files such as rpm and .bin and tar.gz and so on but I wasnt' able to intall any of them. This is so frustrating, for four days now I've been working on just downloading and installing a freakin' program. I thought I could handle this because I've worked on and became a fairly high-end user of Mac OS 9 for about 10 years and I've even been working with OS X for a couple of years. I have a G3 powerbook and wanted to upgrade from long in the tooth OS 9 but OS X was way too slow on my G3. I discovered Yellowdog linux and burned some intall cds and away I went and have been lovin it untill this brick wall has me stopped. I don't know what else to do except if I get a chance look for a linux for dummies book. Well I didn't mean to get into all that, I just want to say thanks again for all the help.

Brooks

tar xzvf file name for the tar.gz files

rpm -ivh file name for the rpm files

bin files are only placed somewhere you don't install um.

Brooksias 07-03-2004 04:25 PM

One more try!
I donwloaded the following file. . .

opera-7.51-20040602.2-shared-qt.ppc-en.rpm

I opened a "shell" and here is the info I typed and the reply it gave me. . .

[myname@localhost myname]$ cd /home/myname/Desktop
[myname@localhost Desktop]$ rpm -ihv opera-7.51-20040602.2-shared-qt.ppc-en.rpm
error: Failed dependencies:
libstdc++-libc6.2-2.so.3 is needed by opera-7.51-20040602.2
[myname@localhost Desktop]$


What does this mean?

bmfmyth 07-03-2004 04:59 PM

Quote:

Originally posted by Brooksias
One more try!
I donwloaded the following file. . .

opera-7.51-20040602.2-shared-qt.ppc-en.rpm

I opened a "shell" and here is the info I typed and the reply it gave me. . .

[myname@localhost myname]$ cd /home/myname/Desktop
[myname@localhost Desktop]$ rpm -ihv opera-7.51-20040602.2-shared-qt.ppc-en.rpm
error: Failed dependencies:
libstdc++-libc6.2-2.so.3 is needed by opera-7.51-20040602.2
[myname@localhost Desktop]$


What does this mean?

It means that you need to update some stuff on your machine. aka get some libraries. Go to the lil red circle that should be on the right side of your toolbar. Should have a exclamation point on it. Go there and go through the setup prompts. And install all the lib files. also you might need a compiler. What kind of download did you do? Custom, Personal Desktop, server, or the 4th one that's on there that I can't remember what it's called.

go to main menu> system settings> Add or Remove Applications then update things in thee as well, put the cd's as you need when prompted.

sorry if i'm confuseing you

Slakjak 07-03-2004 05:48 PM

You should really check this out...


http://dag.wieers.com/home-made/apt/FAQ.php#B


This will help with some of the headaches dealing with dependecies.

darthtux 07-03-2004 08:39 PM

You need to download the qt static version from the same page you downloaded the other.

Brooksias 07-03-2004 11:39 PM

You said,

"You need to download the qt static version from the same page you downloaded the other."

I went back and downloaded that one and IT ACTUALLY WORKED!
I'm pumped. I don't know what I did differently this time or maybe it was just dowloading the right file. Either way I'm happy.
Now, I would really like to download and install LimeWire. This is what I did. . .

[myname@localhost myname]$ su
Password:
[root@localhost myname]# cd /home/myname/Desktop
[root@localhost Desktop]# ./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: Permission denied
[root@localhost Desktop]#

Then I tried a space after the ./
and I got the following . . .

bash: ./: is a directory
[root@localhost Desktop]#


So, how do I "expand" this .bin file? Then, when it's expanded, will it be a rpm?
Thanks, I'm making some progress!


p.s. when I go to download an app, it generally gives me many different options. Which one will I want to choose? Yellowdog linux is ported from redhat if that helps.

bmfmyth 07-04-2004 12:10 AM

Quote:

Originally posted by Brooksias
You said,

"You need to download the qt static version from the same page you downloaded the other."

I went back and downloaded that one and IT ACTUALLY WORKED!
I'm pumped. I don't know what I did differently this time or maybe it was just dowloading the right file. Either way I'm happy.
Now, I would really like to download and install LimeWire. This is what I did. . .

[myname@localhost myname]$ su
Password:
[root@localhost myname]# cd /home/myname/Desktop
[root@localhost Desktop]# ./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: Permission denied
[root@localhost Desktop]#

Then I tried a space after the ./
and I got the following . . .

bash: ./: is a directory
[root@localhost Desktop]#


So, how do I "expand" this .bin file? Then, when it's expanded, will it be a rpm?
Thanks, I'm making some progress!


p.s. when I go to download an app, it generally gives me many different options. Which one will I want to choose? Yellowdog linux is ported from redhat if that helps.


you download things that are specific for yellowdog. i'm not sure what to do for limewire I haven't ever tried it.


All times are GMT -5. The time now is 03:37 AM.