LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-26-2004, 08:51 PM   #1
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
help in installating applications (red hat 9)


I'm getting quite frustrated that I'm having a hard time just installing an application in Red Hat. I tried installing XMMS, MPlayer, and VideoLan player and I was unsuccessful.

When I issue the rpm -i filename.rpm, what really happens? Where do the files go? What should I do next? How do I run the program?


Here's what I did, downloaded the rpm of XMMS and MPlayer, issued the rpm -i command. Then I don't know what to do next, I'm basically clueless. I tried looking for it in the usr/bin and usr/lib folders but to no avail. Can someone explain to me the basics of installing applications in red hat?

For VideoLan, I followed the instructions given by the their site. I did rpm -U /root/vlc* --force (does this mean install all rpm files in the directory?) but my terminal didn't respond. Hmmm I don't know if it's still processing but I waited for minutes and nothing happened. The cursor just moevd to next line and stayed there.

Please help me, I'm just getting started with linux (installed Red Hat 9 yesterday)
 
Old 04-26-2004, 09:55 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Re: help in installating applications (red hat 9)

Quote:
Originally posted by pablowablo
I'm getting quite frustrated that I'm having a hard time just installing an application in Red Hat. I tried installing XMMS, MPlayer, and VideoLan player and I was unsuccessful.

When I issue the rpm -i filename.rpm, what really happens? Where do the files go? What should I do next? How do I run the program?


Here's what I did, downloaded the rpm of XMMS and MPlayer, issued the rpm -i command. Then I don't know what to do next, I'm basically clueless. I tried looking for it in the usr/bin and usr/lib folders but to no avail. Can someone explain to me the basics of installing applications in red hat?

For VideoLan, I followed the instructions given by the their site. I did rpm -U /root/vlc* --force (does this mean install all rpm files in the directory?) but my terminal didn't respond. Hmmm I don't know if it's still processing but I waited for minutes and nothing happened. The cursor just moevd to next line and stayed there.

Please help me, I'm just getting started with linux (installed Red Hat 9 yesterday)
Hokay...
From terminal - type: info rpm
Read everything carefully.

The advantage of rpm is you don't need to know about the install process - usually.
The disadvantage is that sometimes you DO need to know.

for xmms - if the install went OK - you should be able to right-click on an audio file and select

Open With > XMMS

If you want to know what is going on, use the -v switch

rpm -iv file.rpm

rpm -Uv file*.rpm will *update* (-U) all systems whose rpm file (in the current directory) start with the characters "file" (saves typing out all those verion numbers, but make sure you have enough characters to uniquely identify only the rpm's you want) AND it will tell you what is going on (-v = verbose). You use -U rather than -i to avoid re-installing over an existing system.

The -v is especially useful if you do not have a 100% up to date system... likely. Then it will tell you what is missing and you can go get it.

You may have to look up the documentation for the software (try google) to find out what the executable filename is.

For xmms, it is just xmms from terminal, or maybe ./xmms. Try ./xmms --help as any user.

Normally someone will let you know what the executable filename is - or there will be an icon in the gnome menue (search the sub-menues) so when I installed xu4 (ultima iv for x-windows) via rpm, I found I needed to type u4 in terminal or look in GNOME > games > more games to find the icon. (It didn't actually tell me any of this - it is all part of the Linux learning curve.)

Simon
 
Old 04-26-2004, 10:24 PM   #3
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
thanks!

thanks! your reply was most helpful..

Lol xmms plyer was installed correctly, however is there any way I could open it without going through the terminal? Maybe put a shortcut in the desktop? I'm sorry if this question is very stupid but I really don't know how.


Another problem I encounter a lot when installing applications is failed dependencies... How do I address this?

Here's what happend when I tried installing mplayer


[root@localhost root]# rpm -iv mplayer.rpm

warning: mplayer.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
aalib is needed by mplayer-1.0-0.2.pre2.fr
alsa-lib is needed by mplayer-1.0-0.2.pre2.fr
faad2 is needed by mplayer-1.0-0.2.pre2.fr
lame is needed by mplayer-1.0-0.2.pre2.fr
libaa.so.1 is needed by mplayer-1.0-0.2.pre2.fr
libasound.so.2 is needed by mplayer-1.0-0.2.pre2.fr
libasound.so.2(ALSA_0.9) is needed by mplayer-1.0-0.2.pre2.fr
libdv is needed by mplayer-1.0-0.2.pre2.fr
libdv.so.2 is needed by mplayer-1.0-0.2.pre2.fr
libdvdread is needed by mplayer-1.0-0.2.pre2.fr
libdvdread.so.3 is needed by mplayer-1.0-0.2.pre2.fr
libfame is needed by mplayer-1.0-0.2.pre2.fr
liblirc_client.so.0 is needed by mplayer-1.0-0.2.pre2.fr
liblzo.so.1 is needed by mplayer-1.0-0.2.pre2.fr
libmad.so.0 is needed by mplayer-1.0-0.2.pre2.fr
libmp3lame.so.0 is needed by mplayer-1.0-0.2.pre2.fr
libpostproc = 1.0-0.2.pre2.fr is needed by mplayer-1.0-0.2.pre2.fr
libpostproc.so.0 is needed by mplayer-1.0-0.2.pre2.fr
lirc is needed by mplayer-1.0-0.2.pre2.fr
lzo is needed by mplayer-1.0-0.2.pre2.fr
mplayer-fonts is needed by mplayer-1.0-0.2.pre2.fr
[root@localhost root]#

________________________________________________________________
<edit>

Here's what happened when I tried installing videolan


[root@localhost vlc]# rpm -Uv /root/vlc/* --force

warning: /root/vlc/1.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by mozilla-1.6-2
libXinerama.so.1 is needed by vlc-0.7.1-2
libasound.so.2 is needed by vlc-0.7.1-2
mozilla = 35:1.2.1 is needed by (installed) galeon-1.2.7-3
[root@localhost vlc]#



Last edited by pablowablo; 04-26-2004 at 10:26 PM.
 
Old 04-26-2004, 10:46 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Re: thanks!

"thanks! your reply was most helpful.."
excellent! You did post a poll?

Oh boy.
Tackling your comments in order:

1. xmms plyer was installed correctly, however is there any way I could open it without going through the terminal?

You'll probably find an icon for it in GNOME > Sound and Video > Audio Player or similar. (You'll gather I use the gnome desktop, but they all work pretty much the same. The "Audio Player" is xmms, but mine came with. You may see an explicit reference to xmms there instead.)

A desktop icon thingy is called a launcher - I found the easiest way to do this so I understand it is to right-click a toolbar and make a launcher on the toolbar - then drag it to the desktop. You'll probably want to customise the icon.

2.Another problem I encounter a lot when installing applications is failed dependencies... How do I address this?


Go to rpmfind.org (.net? amnday!) and look for the packets that the rpm say are missing, install them. OR go to RHN and get the updates. Sorry, there is no easy option here. Commit yourself to a lot of download time. Especially for that mozilla upgrade!

I had a similar thing when I had to upgrade evolution - 6hours! (With other idiots piking up the phone "just to see if you are still online" the basterds!)
 
Old 04-26-2004, 10:59 PM   #5
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
hehe sorry, excuse my English. I meant your post was VERY helpful... used the wrong term I guess.


Anyway, thanks again Im going to try that.

There are still a lot of things I want to with my newly installed Red Hat.

I still have to fix my sound card
Install java in my system
Find out why firefox freezes
etc etc.

I'l save it for future posts

hehe

Oh Xmms is also the default audio player for me, so I guess I may have not installed it correctly

One last thnig, is GCC installed by default in Red Hat 9? I can't seem to find it in mine.
 
Old 04-26-2004, 11:08 PM   #6
driftingremains
LQ Newbie
 
Registered: Jul 2003
Location: Mass
Distribution: gentoo
Posts: 20

Rep: Reputation: 0
Redhat is a pain with *.rpm files, I like gentoo because its portage system its for nice lazy people like me, I can just type emerge xmms, and it goes online, downloads everything it needs, compiles and installs it for me.
 
Old 04-30-2004, 06:36 PM   #7
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
driftingremains:
Yeah yeah - with redhat you are supposed to just click the update icon and it tells you what you have out of date and what else is available - then you pick what you want and the daemon installs them all.

This way, you don't ahve to guess what name to use.

Other distros have similar systems.
However, none of this helps old pabs here...

pablowablo:
I understand gcc is part of the RH9 package, it came with mine. Go tov terminal and type "gcc --help" or "man gcc".

Just write your program as a text file and use gcc normally. I havn't looked for rhide or anything like that tho.

Simon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat : My list of running applications has disappeared off the bottom of the scree m155698 Linux - Newbie 2 08-26-2005 11:22 AM
RED HAT APPLICATIONS and programming tools/libraries New_To_RH_Linux Linux - Software 3 02-24-2005 04:03 AM
Refresh rate for applications is not good on Red Hat 9 box sportsredtech Linux - Hardware 0 08-25-2004 01:41 PM
Red Hat slow loading applications Covel Red Hat 2 01-16-2004 02:18 PM
running microsoft applications in Red Hat Linux 7.2 ritwiksolutions Linux - Newbie 1 11-26-2002 09:52 AM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration