Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I am new to Linux, I am using Fedora Core 5. I would like to play mp3 files. The computer that I have linux on is not connected to the internet (I am currently writing this at work as I do not have internet at home). How do I install XMMS or mplayer or something to play videos and music? Please be detailed as I am new to this. Thank you very much in advance.
Download this file at work and put it on your thumb drive, http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2. When you get home move it from your thumb drive to your hard disk; your home directory is fine. Unpack the tarball and move into the top of the source tree
Code:
tar xjf xmms-1.2.10.tar.bz2 && cd xmms-1.2.10
Configure and compile
Code:
./configure --prefix=/usr && make
To install in /usr, you need to be the privileged user (root). Since you haven't told us what distribution you are using, I don't know whether su or sudo is appropriate.
Download this file at work and put it on your thumb drive, http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2. When you get home move it from your thumb drive to your hard disk; your home directory is fine. Unpack the tarball and move into the top of the source tree
Code:
tar xjf xmms-1.2.10.tar.bz2 && cd xmms-1.2.10
Configure and compile
Code:
./configure --prefix=/usr && make
To install in /usr, you need to be the privileged user (root). Since you haven't told us what distribution you are using, I don't know whether su or sudo is appropriate.
Code:
su -c 'make install'
or if your distro uses sudo
Code:
sudo make install
I installed as your instruction, then i got:
Quote:
[Tin@Chanhtin ~]$ tar xjf xmms-1.2.10.tar.bz2 && cd xmms-1.2.10
[Tin@Chanhtin xmms-1.2.10]$ ./configure --prefix=/usr && make
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was
installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path
to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
you need to install GLIB before you install xmms.
Until you install and ur ./configure script goes well without errors Makefile would not be generated and hence u wud not be able to run make command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.