LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing mplayer,and c++ compiler. (https://www.linuxquestions.org/questions/linux-newbie-8/installing-mplayer-and-c-compiler-292872/)

sudi16 02-21-2005 02:48 AM

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.

__J 02-21-2005 03:01 AM

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

vharishankar 02-21-2005 03:03 AM

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.

sudi16 02-21-2005 11:22 PM

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.


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