LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-20-2002, 06:05 PM   #1
NiagraBob
LQ Newbie
 
Registered: Oct 2002
Posts: 17

Rep: Reputation: 0
Unhappy Installing Mplayer or anything else in Linux


I just installed Mandrake 9 on a partition and I am using it for the first time. I am trying to install Mplayer and other programs but I am having problems. So far I created a directory named Mplayer under home/nw/mplayer and extracted all the files there. And thats about it. Any suggestions would be greatly appreciated on this or any other advice about Linux. Thank you.
 
Old 10-20-2002, 06:13 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Welcome to LQ, NiagraBob.

My first suggestion is going to sound very rude, but please don't take it that way. Read the supplied documentation. There is almost always a README and/or INSTALL file, although sometimes they will be in the docs subdirectory. Although most programs can be installed in pretty much the same way, some are different, so it's always a good idea to get yourself a nice habit like reading the documentation.
 
Old 10-20-2002, 06:28 PM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
Listen to thymox, you should definitly read those README's and INSTALLS. Then you can usually apply what options you want to use to the general syntax for installing programs w/ "./configure"

from inside the source directory:

./configure
make
make install

Now, the "./configure" part is where you can set your options. you can do "./configure --help | less" to see what you can do. some common options would be something like

./configure --prefix=/usr --sysconfdir=/etc

the --prefix=/usr will make the program install in /usr/bin and the libraries in /usr/lib (the default is usually --prefix=/usr/local, which will put the executables in /usr/local/bin) the sysconfdir=/etc will put all of the configuration files in /etc.

These are not too important, and usually it is fine to just leave confiigure alone.

when you do "make" the program will compile, and "make install" will install the files onto your system.

I hope this clears things up a little for you

good luck
 
Old 10-20-2002, 06:29 PM   #4
NiagraBob
LQ Newbie
 
Registered: Oct 2002
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you for having me. My first post was a bit premature and I should have looked harder for the proper documentation. As such this is what I did.

After extracting the files to the dir mentioned above I brought up a console and typr
./configure then make install. That was 6 minutes ago and it is still installing. Does it normaly take this long? Does this method work for all installations?

I am guessing that it is compilling the program and then installing it. That is whats taking so long.

TIA for any help you might offer me.
 
Old 10-20-2002, 06:32 PM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Yeah, something as complex as MPlayer can take a while. One thing to note, you appear to have forgotten to do make. You would normally go:
./configure
make
make install (as root)
Also, if this is mplayer you're installing, you probably won't have the GUI since that is an option that you need to pass with configure.
 
Old 10-20-2002, 06:39 PM   #6
NiagraBob
LQ Newbie
 
Registered: Oct 2002
Posts: 17

Original Poster
Rep: Reputation: 0
Again my inexpiriance is coming through. When you say as root I log in initialy with my root password? When I log in it asks for this automaticlly to enter the control center. I dont mean to try your patiance by any standered but this is literaly the fourth time I used Mandrake. I really do appreciate your help.

The install stopped because it said it could not create a dir. I am going to try it again though till I get it right.
 
Old 10-20-2002, 06:44 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
DO NOT EVER LOG IN AS ROOT UNLESS YOU ABSOLUTELY, DEFINITELY NEED TO

Sorry for shouting, but I thought it needed to be said. You should always, always log in as a normal user, and if you need to do anything, use the command su root to temporarily become the root (you can return to being a normal user by typing exit).

You would want to do this:
  • ./configure
  • make
  • su root
  • enter root's password
  • make install
  • exit (to return to being a normal user).
However, as I said, you will need to read the docs if you want to enable the GUI... I think it's something like ./configure --enable-gui

Hope this helps.

Last edited by Thymox; 10-20-2002 at 06:46 PM.
 
Old 10-20-2002, 06:47 PM   #8
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
already explained

Last edited by adam_boz; 10-20-2002 at 06:50 PM.
 
Old 10-20-2002, 06:59 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Quote:
Originally posted by adam_boz
already explained
Hehe! You need to have quicker fingers than that! I'll let you have a chance, though... it's 1:00 am (UK), so I'm going to bed.
 
Old 10-20-2002, 07:01 PM   #10
NiagraBob
LQ Newbie
 
Registered: Oct 2002
Posts: 17

Original Poster
Rep: Reputation: 0
I have to admit it was kind of exciting when everything started to come together. Perhaps I have bitten off more then I can chew. Are there any books one would advise me to read to get a better understanding the Linux system. Perhaps one geared at new users?
 
Old 10-20-2002, 07:06 PM   #11
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Ooh... there are loads. Just a quick search here would give you plenty of different ideas on what constitutes a good book. Many are also available online.
 
Old 10-20-2002, 07:09 PM   #12
NiagraBob
LQ Newbie
 
Registered: Oct 2002
Posts: 17

Original Poster
Rep: Reputation: 0
I am checking out Amazon right now while Mplayer compiles.

Thanks for all your help Thymox. Believe it or not but your advice opened up new doors for me to explore. Thanks!
 
Old 10-20-2002, 07:12 PM   #13
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
No worries. That's what we're here for. Glad to hear that you're giving Linux a fair chance, and very glad to hear that you've already found Mplayer... it normally takes people a lot longer than that!
 
Old 10-20-2002, 07:16 PM   #14
NiagraBob
LQ Newbie
 
Registered: Oct 2002
Posts: 17

Original Poster
Rep: Reputation: 0
Ok it installed ok ...umm How do I run it
 
Old 10-20-2002, 07:29 PM   #15
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
mplayer filename

There are loads of options that you can use... my favourite are:
mplayer -osdlevel 0 -fs -rootwin -loop 0 filename.movie
That loads mplayer, doesn't display any ' on screen display', shows the video full screen, on the desktop background and loops it forever. Great to have running at startup if you've got a decent movie!

Oh, nearly forgot:
man mplayer should give you an exhaustive list.

Good luck.
 
  


Reply



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 mplayer on debian linux (sarge 3.0) indikaw Linux - Newbie 2 12-16-2004 05:57 AM
installing mplayer for very new linux user!! Fredstar Linux - Software 7 07-31-2004 10:43 PM
please, someone , need help installing mplayer snakeo2 Linux - Newbie 1 04-14-2004 10:57 PM
mplayer is not installing on Red Hat Linux 9.0 chinmay nautiya Linux - Software 18 03-12-2004 09:21 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 AM.

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
Open Source Consulting | Domain Registration