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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
"./configure" creates a "makefile" with the options appropriate for your system. In doing so, it check to see what you have installed on your system; specifically, the things the compilation is going to need.
"make" runs the compile portion of the makefile. That is, it takes the source code, and creates a functional application out of it.
"make install" runs the "install" portion of the makefile, copying and linking the appropriate parts of the application and it's libraries so that a user can run the application.
Edit: biojayc posted while I was typing. Biojayc: what is the *exact* error output by "make install"? That info is needed to help solve the problem.
info about exporting environment variables here
or another post on LQ here (might be good to follow the link in that page to the java SDK page).
set your variable by typing this at terminal window:
and type the path you want it to reference to.
im posting this because you asked.. if you installed glib then it should have installed a glib_conf script file... you can use the path of that file in the export command. if you didnt install it however, then this wont help, probably.
I checked the 'usr/bin/' directory and there is an executable called man in there, so that's why it says theres not a directory. I'm still very confused though what is going on. I don't understand linux at all. Why can't I just install glib to some location, and then set the environment variable for it so that xmms can find it? and if I can, how do I do so?
You're welcome, biojayc. This is a big community, so replies are *usually* pretty fast.
To expand a little more on the tar.gz, and compile/make stuff, this is the common routine for using these files. (Note: for newbies, I *always* recommend using your own distro's package management system over compiling source, when possible. It's SO much easier.)
1) Download the tarball, e.g., "application1.tar.gz".
2) Open a terminal window.
3) $ cd /path/to/downloaded/tarball
4) $ tar -xvzf application1.tar.gz
(This step extracts the source code from the tarball, and typically puts it in a directory with the same name as the tarball, minus the ".tar.gz".)
5) $ cd application1
6) $ ./configure --prefix=/usr
7) $ make
8) $ su
9) <enter root password>
10) # make install
11) # exit
And check out this thread for a good discussion about tarball, and rpm files.
Edit: nadroj: apparantly the install puts some man pages out for the user to see.
okay, I glib seemed to install fine with no erros, but there's no glib-config file on my computer anywhere. When I try to run ./configure on xmms, it errors as it did before and says to set GLIB_CONFIG environment variable to the glib-config script. But sense there isn't one, what do I do? The program says it needs v1.2.2 or higher, but the glib I'm trying to install is 2.6.3, so is it possible that it's such a higher version that it is implemented differently, and thus xmms just doesn't work with it anymore? This is getting pretty frustrating.
Also, I don't have an internet connection in linux, so I have to reboot into windows to post again, so that's why it may take a bit between posts. I've tried to get ndiswrapper to install but it errors during the ./configure phase. don't remember the exact errors because I have to print them out which I didn't do.
I'm running Mandrake 10.0 Official. Whenever I go to the package manager and try to add in packages, sometimes it tells me to insert instalation cd 4, but there is only 3 cds? what is this mysterious 4th cd it's asking me for?
I was installing some stuff under developement, xmms, and some games when this happened last.