LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2003, 07:09 PM   #1
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
Installing applications on RedHat Linux - Shrike


First off, i apoligize for my awfull spelling (dont have a word prossesor installed yet).

Secondly i am rather experianced with Windows (mostaly 2000 Profeshonal) but desided to try out Linux. I was recomended to try RedHat Shrike (version is the one with the -8 at the end).

Anyhow got it installed ok and just trying to figure out how to install stuff. I got a media player i wana install (.rpm) as well as other .rpm files, i cant get internet working in Linux because i dont know how to install hardware yet, so i burned these files to a CD (Downloaded them with win2k). Anyhow i tryed to run the files in linux from the cd and it gave me a permitions error. so i copyed it to the hard disc and tryed and got the same error.

(SIDE NOTE: when it asked to make an account i told it not to cause im the only person who is ever gana use it. so i just log in as root)

Any help would be appriciated.
-Monkeysee
 
Old 07-06-2003, 07:24 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Ok, a couple of things:

1. This is my personal suggestion, and it is made by others as well: don't use the root account exclusively. There are many reasons why not to, but here's the more important one: as you are getting used to Linux, you are bound to make a mistake. If you are root, then you run the risk of damaging the entire system. Using a normal account means you have to manually switch to root before executing something; that means you've given it some thought.

2. Red Hat contains what's called a package manager, hence the .rpm file extension. If you are in a GUI environment (such as Gnome of KDE), then you can double-click the package from a file window. It will install the software for you. If you aren't in a GUI, you can still get at it, but I won't go into the details about that unless you need it. Note that when you install it, it will not add an icon to the Red Hat menu. You have to do that yourself. You can launch it without the icon By using the "Run Command" dialog if you know what the program filename is.

3. A CD filesystem does not have the concept of permissions like in Linux. So, when you copied the files from the CD to your hard drive, Linux assumed some default permissions. Those defaults do not include the ability to run the file. To make a file executable, you would need to type "chmod u+w <filename>" if the file is on the hard drive. That will allow you to run the file. Then, to actually execute the program, type "./<filename>". That will only work if you're in the same directory as the file you are trying to run.
 
Old 07-06-2003, 07:48 PM   #3
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
(At the risk of sounding stupid im gana write this in what i did step by step)

1. I booted up Linux

2. I clicked the picture of the hat in the lower left

3. I clicked run

4. I typed "chmod u+w <root/install/media player/mplayer-0.90-1.athlon.rpm>" and pressed enter (withought quotes)

and it gave me the same permitions error. i think i screwed up.

That is the exact location of the file though, no typos or anything. Thanks for helping me i have a fealing that once i get this to work than im gana understand quite a bit more about Linux.

-Monkeysee
 
Old 07-06-2003, 08:55 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Well, an rpm file is not an executable. So, you don't need to chmod it.

Click on the "Start Here" icon on your desktop. That should open a file browser window for the /root directory. Then navigate your way to the mplayer directory. When you get there, you should see the rpm file have a box-like icon for it. Double click that file. That will start the package manager. It might ask you a few questions (similar to a windows installer), and then go about its business. When it is finished, mplayer should be installed. To run it, do the "Run Command" thing again, and type "mplayer".

If you see any error messages, make a note of them, and post them as part of the reply.

As for the chmod command you tried, that was my mistake. I didn't clarify what I wanted you to type AND I screwed up the command. It should have been:
Code:
chmod u+x filename
The original reference to "<filename>" meant substitute the path to the filename without the "<" and ">". You might see others make similar references. So, keep that in mind as you browse through other threads/replies... I'll try to use other conventions later.

Edit: I'm a moron... You should double-click on "root's home" rather than "start here"

Last edited by Dark_Helmet; 07-06-2003 at 09:28 PM.
 
Old 07-07-2003, 12:38 AM   #5
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
ok ive made some proggress. Thanks to you Mr. Helmet. nothing sucsesfully installed yet, however im getting closer. I found this thing where im soposed to type commands (kinda dos style), so that helps. Anyhow ive been trying to install 2 things. first off a media player that can play Divx files and such but the midea player i keep trying to install keeps saying i need package 0.9 installed. and i cant find that anywhere. (i need the 505 codec for sure) and a program that will let me listen to MP3's found one and installed it but it plays like the first tenth a second and than frezzes. anyhow if someone would be so kind as to post a link to the file(s) i would want that would be awsome.

im running Linux Shrike 2.4.20-8

(and if i need to remove the MP3 thing i tryed to install i would appriciate the command. however if i can install over it thats just as good )

Thank YOU for your help,
-Monkeysee

Last edited by Monkeysee; 07-07-2003 at 12:39 AM.
 
Old 07-07-2003, 02:17 AM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
What you came across is a shell, or command line. Yeah, it's a bit like DOS.

Ok, about the MP3 player. You probably already have something on your machine that will work. It's called XMMS. It looks a LOT like Winamp. You can try running it from the command line. Type: xmms &

The "&" tells the program to run in the background. If you leave that off, you won't be able to type anymore commands until you close XMMS. If the prompt comes back with a message along the lines of "command not found" then XMMS wasn't installed with the options chosen at installation. You can download XMMS as a package from the link listed below if that is the case.

Now, before you can actually play MP3s, you need to download an XMMS plugin. Red Hat chose to remove MP3 support in their distributions for some reason. Go to the web page below and download the very first link at the top of the page.

MP3 package for Red Hat

When you click the link, choose to save it to disk, and then remember the path/directory you save it to. Now, when you download the package, you install it like any other. Since you've found the command line, we can try installing it from there.

So, I'll assume you downloaded the MP3 package. Now, change to the directory you downloaded the file do. Type: ls -l
Make sure you see the filename in the list that comes up.

Then install the package by typing: rpm -i xmms-mpg123-1.2.7-21.i386.rpm

rpm is the package manager, the "-i" tells the package manager you want to install a package, and the list item is the package itself of course.

That should install the MP3 support for XMMS. If you started XMMS earlier, close it, and restart. You should be able to play MP3s now.

If you can into any errors, then post them in a reply and we can work through them.

Similarly, for mplayer, go to the directory that has the package file, and type: rpm -i mplayer-0.90-1.athlon.rpm

Again, if you get any errors, post them in a reply exactly as you see them on the command line. We'll get you going full-speed pretty quickly.
 
Old 07-08-2003, 01:49 AM   #7
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I successfully got that media player working. My friend TeRG helped me a lot though. I canít get the interface working but I can operate it through the prompt.

Anyhow thanks for all your help Dark Helmet, and I am grateful for your further assistance. I installed that MP3thing. And it installed fine; however it only plays the first couple of notes (specifically when the XMMS player says 0:01 seconds) and than stops playing sound. And than soon freezes. Iíve been messing with this for a while now and found that Audio CDs play fine in XMMS player, however I would very much like my MP3s to work, thanks for your help.

-Monkeysee
 
Old 07-08-2003, 01:57 AM   #8
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
What sound card are you running?

PS. sorry for being nosey, im also a newbie of sorts.

Also the root point is an important one, make a user account ASAP, i lost my first installation cos of running in root all the time. rm / , not a good command in root.

Last edited by v00d00101; 07-08-2003 at 01:59 AM.
 
Old 07-08-2003, 02:02 AM   #9
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Ya I already made a user account thingy. Iím using a Advance ACí97 something or other. Itís integrated on my ASUS V78X. Linux detected the card on installation and the test sound worked. So happy? Well if anyone knows the anywhere to this MP3 problem I would appreciate it.

-Monkeysee
 
Old 07-08-2003, 02:06 AM   #10
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
its definetly a weird one, i have an asrock (Asus subsidary) board with ac97 that i built the other week and it plays mp3s ok. And i have several other machines using ac97 with rh9 on them.

the only prob i have is it is crackley occaisonally.

Best advice is get a sbpci or sb live (one with emu 10k chip). i have a soundblaster 128 pci and it runs crystal clear on that, and i have many friends who use live cards.

Have u searched google for any incompatibilities with redhat, ur board, and playback of mp3s.

try this
http://www.google.com/search?q=%22ac...=opera&num=100

Last edited by v00d00101; 07-08-2003 at 02:09 AM.
 
Old 07-08-2003, 08:41 PM   #11
Monkeysee
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
i cant get a new soundcard because im poor. :'(

i dont think its in incombatability i think its just i did something wrong installing the plugin.

-Monkeysee
 
Old 07-09-2003, 02:47 AM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by Monkeysee
(At the risk of sounding stupid im gana write this in what i did step by step)
[snip]...
-Monkeysee
We've all started somewhere right? There really isn't anyone stupid, especially if you are trying things out, how else are you supposed to learn?

For your sound:

Post up the results of:
lspci -v | grep Multimedia (as root)

This will give us an idea of what soundcard we are working with here. In the meantime, I love to suggest looking at www.alsa-project.org It's a great piece of software, and has excellent instructions on setting it all up.



Cool
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux Shrike 9.0 on Dell Poweredge 2850 Server MarkZawodny Linux - Software 5 07-14-2005 09:32 PM
installing rpms in redhat 9 (shrike) 2.4.20-8 pintooo15 Linux - Newbie 6 06-06-2004 12:54 PM
RedHat9 Shrike: Adding applications gives "packages not found" ChristiaanTinga Linux - Newbie 4 05-03-2004 02:53 PM
Login problems with RedHat 9.0 (shrike) marz Linux - Newbie 5 03-22-2004 08:55 AM
Oracle 8i V3 on Redhat Linux 9(Shrike) Colluru Linux - Newbie 8 01-27-2004 01:25 AM


All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration