LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-21-2005, 02:48 AM   #1
sudi16
LQ Newbie
 
Registered: Jan 2005
Location: a-16,iips hostel,ring road,indore
Distribution: mandrake 10.1
Posts: 8

Rep: Reputation: 0
Angry installing mplayer,and c++ compiler.


hello everybody,
i have mandrake 10.1 installed on my system.since kaffine media player was not working properly i wanted to install mplayer but it proved difficult than i had thought.i went to mplayer site,downloaded its codecs,source,skins.but i don't know how to install it.i tried following steps given in readme file but could not understand them.also whenever i try to install a software but it saysaccess is denied.i cannot understand how to login as root as in graphical interface it does not asks to login as root(in tet base interface it asks).
my second problem is a question that whether mandrake linux contains an inbuilt c or c++ compiler and if yes then how to access it.
waiting for a solution.
 
Old 02-21-2005, 03:01 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
first, logging in as root: in an xterm/console/konsole/gnome-terminal ( whatever you have handy) do:

su
<passwd>

passwd being whatever you chose during the installation for the superuser/administrator passwd.

for mplayer, look at:
http://www.linuxquestions.org/questi...hreadid=292757
for instructions as well as what you'll need.

for c or c++ compilers, type in your console:

gcc -v

and see if you get any output. if you get "command not found" then you don't have a c compiler installed and will have to install one ( log in as root and run rpmdrake using your install cd's for the source, install everything development related).
for c++, g++ is the compiler (gcc for c).

you will need more than a compiler to compile applications ( you'll need most of the development tools your distro provides, like autoconf, automake, make, m4, perl, binutils, libtool, gcc, g++, most rpm distros I believe also split libstdc++ off into a seperate package - you'll need that one for c++ code, and so on).

Last edited by __J; 02-21-2005 at 03:42 AM.
 
Old 02-21-2005, 03:03 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
1. First extract your compressed archive into a folder in your home dir.
2. Open a terminal window. In KDE the terminal icon is in your taskbar.
3. type the command "su" in the terminal. It will ask you for your password.
4. Enter the root password.
5. Now go into your directory where you uncompressed the mplayer source.
6. Follow the instructions in the INSTALL file. Open that file in KWrite and read it. Typically your should run "./configure" followed by "make" and "make install" from your terminal. But the INSTALL should help you if there are any specific instructions.
7. After "make install" you should be able to run mplayer with the command "mplayer" in your terminal.
8. If there are any errors you encounter in any of the steps above, report it here.

EDIT: Sorry __J.

Didn't see your thread. That has more specific instructions on installing mplayer.

Last edited by vharishankar; 02-21-2005 at 03:10 AM.
 
Old 02-21-2005, 11:22 PM   #4
sudi16
LQ Newbie
 
Registered: Jan 2005
Location: a-16,iips hostel,ring road,indore
Distribution: mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
thanks ___J and harishankar for helping me out.i searched mandrake cd's and i found mplayer also in it.once again thanks.
sudi 16.
 
  


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
C compiler not installing xstealthrtx Linux - Newbie 12 11-23-2004 10:12 AM
installing the c++ compiler jmg1894 Linux - Software 1 06-17-2004 03:59 PM
Mplayer tells me my C Compiler is not the right version. J_angel2000 Linux - Software 4 04-14-2004 12:46 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
prob with MPlayer, gcc compiler Brutal Linux - Newbie 5 08-11-2003 04:41 PM

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

All times are GMT -5. The time now is 11:42 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