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)
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.)